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

            Bug ID: 35684
           Summary: ld.lld does not accept "AT" syntax for declaring LMA
                    region
           Product: lld
           Version: unspecified
          Hardware: Other
                OS: other
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedb...@nondot.org
          Reporter: eblot...@gmail.com
                CC: llvm-bugs@lists.llvm.org

ld.lld does accept the "AT" keyword to define a LMA address, such as:

    .data : AT (lma_address)
    {
    } > region

but it fails to parse/recognize the AT token to define a LMA region, such as:

    .data :
    {
    } > region AT> lma_region

which is useful to let the linker stores section without specifying an explicit
address.

The returned error message in such a case is:

    ld.lld: error: : expected, but got .next   (with AT> syntax)
or 
    ld.lld: error: target.ld:24: malformed number: >    (with AT > syntax

-- 
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