]> git.baikalelectronics.ru Git - kernel.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)
committerIngo Molnar <mingo@kernel.org>
Mon, 21 Jun 2021 15:26:57 +0000 (17:26 +0200)
commit2ca64313e8dd34a0303ecab36d60f77eceb74a69
tree0df86c920d5b315fa3c2a97a2965bdef23633253
parentc6de18cbc82363742b3e5ae9084ce57f72e214f0
objtool/x86: Ignore __x86_indirect_alt_* symbols

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: db8e6c9e5e72 ("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
arch/x86/lib/retpoline.S