https://llvm.org/bugs/show_bug.cgi?id=31129

            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: unassignedb...@nondot.org
          Reporter: arichardson....@gmail.com
                CC: llvm-bugs@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
argument.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to