[PATCH] D28272: ELF: Reserve space for copy relocations of read-only symbols in relro.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 17:41:23 PST 2017


pcc updated this revision to Diff 83332.
pcc marked an inline comment as done.
pcc added a comment.
Herald added a reviewer: tstellarAMD.
Herald added a subscriber: nhaehnle.

- Change section ordering as follows: non-RELRO non-NOBITS, TLS non-NOBITS, TLS NOBITS, RELRO non-NOBITS, RELRO NOBITS, non-RELRO NOBITS


https://reviews.llvm.org/D28272

Files:
  lld/ELF/OutputSections.h
  lld/ELF/Relocations.cpp
  lld/ELF/Symbols.cpp
  lld/ELF/Symbols.h
  lld/ELF/SyntheticSections.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/Inputs/copy-rel-pie.s
  lld/test/ELF/Inputs/relocation-copy-relro.s
  lld/test/ELF/aarch64-condb-reloc.s
  lld/test/ELF/aarch64-gnu-ifunc-plt.s
  lld/test/ELF/aarch64-tstbr14-reloc.s
  lld/test/ELF/amdgpu-relocs.s
  lld/test/ELF/arm-abs32-dyn.s
  lld/test/ELF/arm-exidx-shared.s
  lld/test/ELF/arm-fpic-got.s
  lld/test/ELF/arm-gnu-ifunc-plt.s
  lld/test/ELF/arm-pie-relative.s
  lld/test/ELF/arm-plt-reloc.s
  lld/test/ELF/arm-thumb-interwork-shared.s
  lld/test/ELF/arm-thumb-plt-reloc.s
  lld/test/ELF/arm-tls-norelax-gd-ie.s
  lld/test/ELF/arm-tls-norelax-gd-le.s
  lld/test/ELF/arm-tls-norelax-ie-le.s
  lld/test/ELF/arm-tls-norelax-ld-le.s
  lld/test/ELF/relocation-copy-relro.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28272.83332.patch
Type: text/x-patch
Size: 36503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170106/329c47b8/attachment.bin>


More information about the llvm-commits mailing list