[PATCH] D27158: Use relocations to fill statically known got entries
Rafael Ávila de Espíndola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 27 23:53:52 PST 2016
rafael created this revision.
rafael added reviewers: peter.smith, rui314.
rafael added a subscriber: llvm-commits.
Herald added subscribers: emaste, aemerson.
Right now we just remember a SymbolBody for each got entry and duplicate a bit of logic to decide what value, if any, should be written for that SymbolBody.
With ARM there will be more complicated values, and it seems better to just use the relocation code to fill the got entries. This makes it clear that each entry is filled by the dynamic linker or by the static linker.
https://reviews.llvm.org/D27158
Files:
lld/ELF/Relocations.cpp
lld/ELF/SyntheticSections.cpp
lld/ELF/SyntheticSections.h
lld/ELF/Target.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27158.79373.patch
Type: text/x-patch
Size: 4988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161128/2bd4d298/attachment.bin>
More information about the llvm-commits
mailing list