[llvm-bugs] [Bug 39857] New: linker script assignment loses relative nature of section

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 1 15:07:58 PST 2018


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

            Bug ID: 39857
           Summary: linker script assignment loses relative nature of
                    section
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org,
                    ruiu at google.com

Not sure the best way to reproduce this, but it was reported in another bug and
in a mail thread.

https://bugs.llvm.org/show_bug.cgi?id=39810#c11:
"It seems like __efistub__text = _text; loses the section relative property of
_text."

https://bugs.llvm.org/show_bug.cgi?id=39810#c13:
2.) A symbol assignment to symbol defined in a section description in a linker
script can lose the section information.

http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20170116/420898.html:
"The real problem is that we are not tracking
absoluteness correctly."

http://lists.infradead.org/pipermail/linux-arm-kernel/2018-December/616765.html:
(since using an intermediate assignment loses the section relative property
when using ld.lld)

-- 
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/20181201/bc4ea8cf/attachment.html>


More information about the llvm-bugs mailing list