[PATCH] D50097: [PPC64] Position-dependent long-branch thunks.
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 31 12:06:50 PDT 2018
sfertile created this revision.
sfertile added reviewers: syzaara, ruiu, rdhindsa.
Herald added subscribers: kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.
This adds a new '.branch_lt' synthetic section, which is used to store the target addresses for the thunks.
The thunk itself is almost exactly the same as the position-independent long-branch thunks except the target address goes into the new section and no dynamic relocation is needed.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D50097
Files:
ELF/InputSection.cpp
ELF/Symbols.cpp
ELF/Symbols.h
ELF/SyntheticSections.cpp
ELF/SyntheticSections.h
ELF/Thunks.cpp
ELF/Writer.cpp
test/ELF/basic64be.s
test/ELF/ppc64-long_branch.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50097.158357.patch
Type: text/x-patch
Size: 16346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180731/064c26c8/attachment.bin>
More information about the llvm-commits
mailing list