[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


            Bug ID: 39857
           Summary: linker script assignment loses relative nature of
           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.

"It seems like __efistub__text = _text; loses the section relative property of

2.) A symbol assignment to symbol defined in a section description in a linker
script can lose the section information.

"The real problem is that we are not tracking
absoluteness correctly."

(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