[llvm-bugs] [Bug 35684] New: ld.lld does not accept "AT" syntax for declaring LMA region
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Dec 18 00:40:15 PST 2017
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: unassignedbugs at nondot.org
Reporter: eblot.ml at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171218/080a859a/attachment.html>
More information about the llvm-bugs
mailing list