[PATCH] D19089: ELF: Do not create copy relocations for references in writable sections.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 18:27:30 PDT 2016
pcc created this revision.
pcc added reviewers: rafael, ruiu.
pcc added a subscriber: llvm-commits.
They are unnecessary, as the dynamic loader can apply the original relocations
directly. This was also resulting in the creation of copy relocations in PIEs.
http://reviews.llvm.org/D19089
Files:
ELF/Writer.cpp
test/ELF/aarch64-copy.s
test/ELF/mips-plt-copy.s
test/ELF/relocation-copy-flags.s
test/ELF/relocation-copy-non-alloc.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19089.53649.patch
Type: text/x-patch
Size: 6975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160414/3fd92e30/attachment.bin>
More information about the llvm-commits
mailing list