Skip to content

Commit 77cf32d

Browse files
bp3tk0vgregkh
authored andcommitted
x86/srso: Add a forgotten NOENDBR annotation
Upstream commit: 3bbbe97 Fix: vmlinux.o: warning: objtool: .export_symbol+0x29e40: data relocation to !ENDBR: srso_untrain_ret_alias+0x0 Reported-by: Linus Torvalds <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c7f2cd0 commit 77cf32d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/lib/retpoline.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ SYM_CODE_END(__x86_indirect_thunk_array)
9494
.section .text.__x86.rethunk_untrain
9595

9696
SYM_START(srso_untrain_ret_alias, SYM_L_GLOBAL, SYM_A_NONE)
97+
ANNOTATE_NOENDBR
9798
ASM_NOP2
9899
lfence
99100
jmp __x86_return_thunk

0 commit comments

Comments
 (0)