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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to