1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #include <linux/linkage.h> 3 #include <linux/objtool.h> 4 #include <asm/nospec-branch.h> 5 6 SYM_CODE_START(ibt_selftest_noendbr) 7 ANNOTATE_NOENDBR 8 UNWIND_HINT_FUNC 9 /* #CP handler sets %ax to 0 */ 10 RET 11 SYM_CODE_END(ibt_selftest_noendbr) 12 13 SYM_FUNC_START(ibt_selftest) 14 lea ibt_selftest_noendbr(%rip), %rax 15 ANNOTATE_RETPOLINE_SAFE 16 jmp *%rax 17 SYM_FUNC_END(ibt_selftest)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.