[PATCH] D58102: Support X86 Control-flow Enforcement Technology (CET) in LLD
H.J Lu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 04:41:35 PST 2019
hjl.tools added a comment.
In D58102#1414695 <https://reviews.llvm.org/D58102#1414695>, @xiangzhangllvm wrote:
> Add -z force-cet option to force enable CET.
> But if we do not use this option, CET will also try to work unless meet the conditions of no satisfaction.
GNU linker supports:
'shstk'
Generate GNU_PROPERTY_X86_FEATURE_1_SHSTK in
.note.gnu.property section to indicate compatibility with
Intel Shadow Stack. Supported for Linux/i386 and
Linux/x86_64.
'ibtplt'
Generate Intel Indirect Branch Tracking (IBT) enabled PLT
entries. Supported for Linux/i386 and Linux/x86_64.
'ibt'
Generate GNU_PROPERTY_X86_FEATURE_1_IBT in .note.gnu.property
section to indicate compatibility with IBT. This also implies
'ibtplt'. Supported for Linux/i386 and Linux/x86_64.
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58102/new/
https://reviews.llvm.org/D58102
More information about the llvm-commits
mailing list