https://llvm.org/bugs/show_bug.cgi?id=30221
Bug ID: 30221
Summary: linker script expression parser does not accept '~'
Product: lld
Version: unspecified
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
A bootloader component of FreeBSD/mips64 uses a linker script with an
expression containing a bitwise not (~), which lld does not accept:
line 53: malformed number: ~
. = ((. + 0x1000) & ~(0x1000 - 1));
^
The script in question can be found at
https://svnweb.freebsd.org/base/head/sys/boot/mips/uboot/ldscript.mips?annotate=296183#l53
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs