[llvm-bugs] [Bug 37538] New: [ELF] - Something is wrong with sh_info of .rela.plt it seems

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 21 03:49:49 PDT 2018


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

            Bug ID: 37538
           Summary: [ELF] - Something is wrong with sh_info of .rela.plt
                    it seems
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: grimar at accesssoftek.com
                CC: llvm-bugs at lists.llvm.org

I linked chromium with LLD and noticed that readelf 2.28 complains:

[10] .rela.dyn         RELA             0000000000a3f978  00a3f978
       0000000000d1a420  0000000000000018   A       2     0     8
readelf: Warning: [11]: Info field (0) should index a relocatable section.
[11] .rela.plt         RELA             0000000001759d98  01759d98
       0000000000008190  0000000000000018   A       2     0     8

I did not dig deeper, seems we should assign sh_info to something for
.rela.plt.

-- 
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/20180521/7765f913/attachment.html>


More information about the llvm-bugs mailing list