[llvm-bugs] [Bug 31813] New: Cannot parse numbers in linker script

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 31 05:13:58 PST 2017


            Bug ID: 31813
           Summary: Cannot parse numbers in linker script
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: jonathanchesterfield at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Given a linker script fragment like:

.text 0x4000:

lld reports:
malformed number: 0x4000:

Either of the following are accepted:
.text 0x4000 :
.text (0x4000):

Changing from hex to decimal makes no difference.

Expected behaviour:
Identify 0x4000 as s number.

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/20170131/39df14b6/attachment-0001.html>

More information about the llvm-bugs mailing list