]> www.infradead.org Git - users/dwmw2/linux.git/commit
objtool/x86: Ignore __x86_indirect_alt_* symbols
authorPeter Zijlstra <peterz@infradead.org>
Mon, 21 Jun 2021 14:13:55 +0000 (16:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jul 2022 09:26:20 +0000 (11:26 +0200)
commitf231b2ee8533d79b93bd163e93caf578d991726b
tree03bf77e9ee9a1ae1a7f5664fc4be6460607f9880
parente32542e9ed362bf8ea48941d965495e1593b5cef
objtool/x86: Ignore __x86_indirect_alt_* symbols

commit 31197d3a0f1caeb60fb01f6755e28347e4f44037 upstream.

Because the __x86_indirect_alt* symbols are just that, objtool will
try and validate them as regular symbols, instead of the alternative
replacements that they are.

This goes sideways for FRAME_POINTER=y builds; which generate a fair
amount of warnings.

Fixes: 9bc0bb50727c ("objtool/x86: Rewrite retpoline thunk calls")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/YNCgxwLBiK9wclYJ@hirez.programming.kicks-ass.net
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/lib/retpoline.S