[llvm-bugs] [Bug 35440] New: lld's .hash and .gnu.hash are bigger than gold's

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 27 11:19:47 PST 2017


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

            Bug ID: 35440
           Summary: lld's .hash and .gnu.hash are bigger than gold's
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org

When linking a clang built clang with gold, the size of the hash sections are

  [ 5] .gnu.hash  GNU_HASH     0000000000e228e0 a228e0 0a626c 00   A  3   0  8
  [ 6] .hash      HASH         0000000000ec8b50 ac8b50 096898 04   A  3   0  8

with lld the sizes are

  [ 7] .gnu.hash   GNU_HASH  0000000001dcb4c0 1bcb4c0 0b6220 00   A  4   0  8
  [ 8] .hash       HASH      0000000001e816e0 1c816e0 0ad108 04   A  4   0  4

We probably don't care about .hash, but should at least understand the
difference in .gnu.hash.

-- 
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/20171127/7539849f/attachment.html>


More information about the llvm-bugs mailing list