[llvm-bugs] [Bug 38307] New: Handling of "AT>" linkerscript command looks wrong

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 25 06:14:01 PDT 2018


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

            Bug ID: 38307
           Summary: Handling of "AT>" linkerscript command looks wrong
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: konstantin.schwarz at hightec-rt.com
                CC: llvm-bugs at lists.llvm.org

Trying to assemble and link the attached example gives the following error with
ld.lld:
$clang -c foo.s
$ld.lld -Tlinker.ld -Map=map.file foo.o 
ld.lld: error: section .text load address range overlaps with .sec1
>>> .text range is [0x8000000, 0x8000005]
>>> .sec1 range is [0x8000002, 0x8000005]

With ld.bfd, the sample links fine.

-- 
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/20180725/3d0d2456/attachment.html>


More information about the llvm-bugs mailing list