[llvm-bugs] [Bug 31129] New: Linker script: implement ALIGN(expr, align)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 22 15:35:36 PST 2016


            Bug ID: 31129
           Summary: Linker script: implement ALIGN(expr,align)
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: arichardson.kde at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

In the following linker script lld fails to parse the ALIGN() expression

    __bss_start = ADDR(.bss);
    __bss_end = ALIGN(__bss_start + SIZEOF(.bss), 0x8);

The error I get is ") expected, but got ,".

Looking at LinkerScript.cpp it seems that ALIGN currently only handles one

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/20161122/3da468c3/attachment.html>

More information about the llvm-bugs mailing list