[PATCH] D28841: ELF: Add support for relocation type R_X86_64_8.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 18:13:42 PST 2017


pcc added a comment.

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.


https://reviews.llvm.org/D28841





More information about the llvm-commits mailing list