OpenCloudOS-Kernel/tools/objtool/arch/x86
Peter Zijlstra 134ab5bd18 objtool,x86: Replace alternatives with .retpoline_sites
Instead of writing complete alternatives, simply provide a list of all
the retpoline thunk calls. Then the kernel is free to do with them as
it pleases. Simpler code all-round.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Tested-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20211026120309.850007165@infradead.org
2021-10-28 23:25:25 +02:00
..
include/arch objtool: Decode jump_entry::key addend 2021-05-12 14:54:55 +02:00
Build objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00
decode.c objtool,x86: Replace alternatives with .retpoline_sites 2021-10-28 23:25:25 +02:00
special.c objtool: Fix retpoline detection in asm code 2021-01-26 11:11:59 -06:00