[PATCH] D114783: [ELF] Split scanRelocations into scanRelocations/postScanRelocations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 15:31:17 PST 2021


MaskRay updated this revision to Diff 390837.
MaskRay retitled this revision from "[WIP][ELF] Split scanRelocations into scanRelocations/postScanRelocations" to "[ELF] Split scanRelocations into scanRelocations/postScanRelocations".
MaskRay edited the summary of this revision.
MaskRay added a comment.
Herald added subscribers: luke957, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.

Ready for review

Moved copy relocations / canonical PLT entries code.

local symbols need GOT, too, because assembly can use GOT-generating relocations against local symbols.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114783/new/

https://reviews.llvm.org/D114783

Files:
  lld/ELF/Relocations.cpp
  lld/ELF/Relocations.h
  lld/ELF/Symbols.h
  lld/ELF/Writer.cpp
  lld/test/ELF/aarch64-cortex-a53-843419-recognize.s
  lld/test/ELF/aarch64-ifunc-bti.s
  lld/test/ELF/aarch64-thunk-pi.s
  lld/test/ELF/arm-branch-undef-weak-plt-thunk.s
  lld/test/ELF/arm-gnu-ifunc.s
  lld/test/ELF/arm-thumb-interwork-thunk.s
  lld/test/ELF/bsymbolic.s
  lld/test/ELF/gnu-ifunc-i386.s
  lld/test/ELF/ppc32-canonical-plt.s
  lld/test/ELF/ppc32-ifunc-nonpreemptible-pic.s
  lld/test/ELF/ppc32-reloc-got.s
  lld/test/ELF/ppc64-ifunc.s
  lld/test/ELF/relocation-nocopy.s
  lld/test/ELF/riscv-reloc-got.s
  lld/test/ELF/symver.s
  lld/test/ELF/version-script-symver.s
  lld/test/ELF/wrap-no-real.s
  lld/test/ELF/wrap-plt.s
  lld/test/ELF/x86-64-gotpc-relax-und-dso.s
  lld/test/ELF/x86-64-plt.s
  lld/test/ELF/x86-x32-plt.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114783.390837.patch
Type: text/x-patch
Size: 53605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211130/10464e73/attachment.bin>


More information about the llvm-commits mailing list