[PATCH] D32799: [LLD][ELF] Make createThunks() use InputSectionDescriptions
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 17 02:15:34 PDT 2017
peter.smith updated this revision to Diff 99258.
peter.smith added a comment.
Herald added a subscriber: emaste.
Updating diff to account for the detemplating of ThunkCreator and the proposed change in https://reviews.llvm.org/D33239 to move SHF_LINK_ORDER processing earlier in the link.
The key differences are:
- When taken together with the proposed change in https://reviews.llvm.org/D33239 synchronize() is no longer needed
- I've separated allocateHeaders() which only needs to, and I think can only, run once from assignAddresses() which needs to run many times for Thunks
https://reviews.llvm.org/D32799
Files:
ELF/LinkerScript.cpp
ELF/LinkerScript.h
ELF/Relocations.cpp
ELF/Relocations.h
ELF/Writer.cpp
test/ELF/mips-npic-call-pic-script.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32799.99258.patch
Type: text/x-patch
Size: 26776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170517/cf8cf7ae/attachment.bin>
More information about the llvm-commits
mailing list