Commit 3bbbe97a authored by Borislav Petkov (AMD)'s avatar Borislav Petkov (AMD)

x86/srso: Add a forgotten NOENDBR annotation

Fix:

  vmlinux.o: warning: objtool: .export_symbol+0x29e40: data relocation to !ENDBR: srso_untrain_ret_alias+0x0
Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
parent 238ec850
......@@ -151,6 +151,7 @@ SYM_CODE_END(__x86_indirect_jump_thunk_array)
.section .text.__x86.rethunk_untrain
SYM_START(srso_untrain_ret_alias, SYM_L_GLOBAL, SYM_A_NONE)
ANNOTATE_NOENDBR
ASM_NOP2
lfence
jmp __x86_return_thunk
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment