[PATCH] D38407: [ELF] - Do --hash-style=both by default.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 08:31:29 PDT 2017


grimar created this revision.
Herald added subscribers: kbarton, arichardson, javed.absar, nhaehnle, nemanjai, sdardis, emaste.

Its PR34712,

GNU linkers recently changed default values to "both" of "sysv".
It seems reasonable for me to do the same in LLD, 
patch do the same for all targets except MIPS, where .gnu.hash
section is not yet supported.


https://reviews.llvm.org/D38407

Files:
  ELF/Driver.cpp
  test/ELF/aarch64-gnu-ifunc-plt.s
  test/ELF/aarch64-got-relocations.s
  test/ELF/aarch64-tls-gdie.s
  test/ELF/aarch64-tls-ie.s
  test/ELF/aarch64-tls-static.s
  test/ELF/aarch64-tlsdesc.s
  test/ELF/abs-hidden.s
  test/ELF/amdgpu-relocs.s
  test/ELF/arm-copy.s
  test/ELF/arm-exidx-shared.s
  test/ELF/arm-gnu-ifunc-plt.s
  test/ELF/arm-got-relative.s
  test/ELF/arm-pie-relative.s
  test/ELF/arm-plt-reloc.s
  test/ELF/arm-thumb-plt-reloc.s
  test/ELF/arm-tls-gd-nonpreemptible.s
  test/ELF/arm-tls-gd32.s
  test/ELF/arm-tls-ie32.s
  test/ELF/arm-tls-ldm32.s
  test/ELF/arm-tls-norelax-gd-ie.s
  test/ELF/arm-tls-norelax-gd-le.s
  test/ELF/arm-tls-norelax-ie-le.s
  test/ELF/arm-tls-norelax-ld-le.s
  test/ELF/basic-ppc.s
  test/ELF/copy-rel-pie.s
  test/ELF/dynamic-got.s
  test/ELF/dynamic-list-preempt.s
  test/ELF/dynamic-list.s
  test/ELF/dynamic-reloc.s
  test/ELF/eh-align-cie.s
  test/ELF/eh-frame-hdr-augmentation.s
  test/ELF/eh-frame-merge.s
  test/ELF/eh-frame-padding-no-rosegment.s
  test/ELF/emit-relocs-shared.s
  test/ELF/global-offset-table-position-aarch64.s
  test/ELF/global-offset-table-position-arm.s
  test/ELF/global-offset-table-position-i386.s
  test/ELF/global-offset-table-position.s
  test/ELF/global_offset_table_shared.s
  test/ELF/gnu-ifunc-gotpcrel.s
  test/ELF/gnu-ifunc-plt-i386.s
  test/ELF/gnu-ifunc-plt.s
  test/ELF/gnu-ifunc-shared.s
  test/ELF/got-aarch64.s
  test/ELF/got.s
  test/ELF/gotpc-relax-nopic.s
  test/ELF/gotpc-relax-und-dso.s
  test/ELF/gotpcrelx.s
  test/ELF/i386-got-and-copy.s
  test/ELF/i386-gotoff-shared.s
  test/ELF/i386-gotpc-dynamic.s
  test/ELF/i386-gotpc.s
  test/ELF/i386-tls-ie-shared.s
  test/ELF/icf-symbol-type.s
  test/ELF/linkerscript/data-segment-relro.s
  test/ELF/linkerscript/emit-reloc.s
  test/ELF/linkerscript/extend-pt-load.s
  test/ELF/linkerscript/header-addr.s
  test/ELF/linkerscript/implicit-program-header.s
  test/ELF/linkerscript/no-space.s
  test/ELF/linkerscript/non-alloc.s
  test/ELF/linkerscript/orphan-report.s
  test/ELF/linkerscript/out-of-order.s
  test/ELF/linkerscript/repsection-symbol.s
  test/ELF/linkerscript/sections-sort.s
  test/ELF/linkerscript/segment-start.s
  test/ELF/linkerscript/sort-non-script.s
  test/ELF/local-got-pie.s
  test/ELF/local-got-shared.s
  test/ELF/local-got.s
  test/ELF/noplt-pie.s
  test/ELF/pie-weak.s
  test/ELF/pr34660.s
  test/ELF/relocation-copy-alias.s
  test/ELF/relocation-copy-align-common.s
  test/ELF/relocation-copy-flags.s
  test/ELF/relocation-copy-relro.s
  test/ELF/relocation-i686.s
  test/ELF/relocation.s
  test/ELF/relro-omagic.s
  test/ELF/resolution-end.s
  test/ELF/retain-symbols-file.s
  test/ELF/shared.s
  test/ELF/sort-norosegment.s
  test/ELF/startstop.s
  test/ELF/synthetic-got.s
  test/ELF/tls-dynamic-i686.s
  test/ELF/tls-dynamic.s
  test/ELF/tls-got.s
  test/ELF/tls-i686.s
  test/ELF/tls-initial-exec-local.s
  test/ELF/tls-opt-gdie.s
  test/ELF/tls-opt-gdiele-i686.s
  test/ELF/tls-opt-iele-i686-nopic.s
  test/ELF/tls-two-relocs.s
  test/ELF/verdef-defaultver.s
  test/ELF/verdef.s
  test/ELF/verneed.s
  test/ELF/version-script-extern.s
  test/ELF/version-script.s
  test/ELF/x86-64-relax-got-abs.s
  test/ELF/x86-64-tls-gd-local.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38407.117151.patch
Type: text/x-patch
Size: 111223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170929/872714b5/attachment.bin>


More information about the llvm-commits mailing list