[llvm-bugs] [Bug 30221] New: linker script expression parser does not accept '~'
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 31 08:27:12 PDT 2016
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: unassignedbugs at nondot.org
Reporter: emaste at freebsd.org
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160831/c1b06e71/attachment-0001.html>
More information about the llvm-bugs
mailing list