[llvm-bugs] [Bug 34712] New: --hash-style=both by default (like recent ld.bfd and ld.gold)

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 23 13:52:54 PDT 2017


            Bug ID: 34712
           Summary: --hash-style=both by default (like recent ld.bfd and
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: romain.geissler at amadeus.com
                CC: llvm-bugs at lists.llvm.org


Recently ld.bfd and ld.gold were updated so that the default --hash-style is
now "both" instead of "sysv". See this commit:
Note: it is right now conditionally enabled, just for GNU targets, and
explicitly disabled for MIPS, see here:
This will be released next year with binutils 2.30.

Looking at the lld source code, it looks like the default is still "sysv", as
shown here: https://github.com/llvm-mirror/lld/blob/master/ELF/Driver.cpp#L552

Do you think it would make sense to switch as well the default in ldd to
"--hash-style=both" (conditionally, not for MIPS target for example, since that
would be an ABI breakage on these targets).


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/20170923/2ebed046/attachment.html>

More information about the llvm-bugs mailing list