[PATCH] D46094: Simplify processRelocAux
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 25 17:03:17 PDT 2018
espindola created this revision.
espindola added reviewers: ruiu, grimar.
Herald added subscribers: arichardson, emaste.
It returns a different Expr only in the case of creating a function symbol pointing to its plt entry. We can just add a call to addPltEntry to avoid that and return null.
With this patch further simplifications of how we handle copy relocations are possible.
https://reviews.llvm.org/D46094
Files:
ELF/Relocations.cpp
test/ELF/got32-i386-pie-rw.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46094.144038.patch
Type: text/x-patch
Size: 4793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180426/4f223300/attachment.bin>
More information about the llvm-commits
mailing list