x86/srso: Add a forgotten NOENDBR annotation
authorBorislav Petkov (AMD) <bp@alien8.de>
Fri, 28 Jul 2023 21:03:22 +0000 (23:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 18:03:51 +0000 (20:03 +0200)
commit77cf32d0dbfbf575fe66561e069228c532dc1da9
tree977456561e5d5aae47a907f1a2320cdfeb5f69be
parentc7f2cd04554259c2474c4f9fa134528bc2826b22
x86/srso: Add a forgotten NOENDBR annotation

Upstream commit: 3bbbe97ad83db8d9df06daf027b0840188de625d

Fix:

  vmlinux.o: warning: objtool: .export_symbol+0x29e40: data relocation to !ENDBR: srso_untrain_ret_alias+0x0

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/lib/retpoline.S