Although this relocation type is not part of the x86-64 psABI, I intend to
use it internally as part of the ThinLTO implementation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This is obviously correct, but can you please explain how do you plan to use it in ThinLTO? Thanks.
Comment Actions
This is needed for the ThinLTO implementation of control flow integrity, see http://lists.llvm.org/pipermail/llvm-dev/2016-October/106490.html for more details.
The R_X86_64_8 relocation type in particular is needed for 8-bit immediate operands, such as the rorl instruction's rotate count operand.