[PATCH] D46204: [PPC64] V2 abi: Emit plt call stubs to the text section rather then the plt section.
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 5 11:21:45 PDT 2018
sfertile added a comment.
Thanks for digging up that comment, its nice to know.
In https://reviews.llvm.org/D46204#1223836, @MaskRay wrote:
> I need to learn more about the stuff...
Each module has its own value for the toc-pointer (I understand module is an overloaded term in compilers, here I am using it to mean the executable is a module and each shared object is a module). Anytime we //potentially// cross module boundaries the toc-pointer will need to be saved and later restored. From the static linkers perspective, any time the target of a call needs to be resolved by the dynamic linker the call should be followed by a toc-restore.
Repository:
rL LLVM
https://reviews.llvm.org/D46204
More information about the llvm-commits
mailing list