kernel_optimize_test/tools/objtool
Peter Zijlstra f0bc12b848 objtool: Fix static_call list generation
[ Upstream commit a958c4fea768d2c378c89032ab41d38da2a24422 ]

Currently, objtool generates tail call entries in add_jump_destination()
but waits until validate_branch() to generate the regular call entries.
Move these to add_call_destination() for consistency.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lkml.kernel.org/r/20210326151259.691529901@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 14:04:02 +01:00
..
arch/x86 objtool: Fix retpoline detection in asm code 2021-03-04 11:38:00 +01:00
Documentation
.gitignore
arch.h objtool: Decode unwind hint register depending on architecture 2020-09-10 10:43:13 -05:00
Build objtool: Enable compilation of objtool for all architectures 2020-05-20 09:17:28 -05:00
builtin-check.c objtool: Move ORC logic out of check() 2020-09-01 17:19:11 -05:00
builtin-orc.c objtool: Move ORC logic out of check() 2020-09-01 17:19:11 -05:00
builtin.h
cfi.h
check.c objtool: Fix static_call list generation 2021-11-18 14:04:02 +01:00
check.h objtool: Fix retpoline detection in asm code 2021-03-04 11:38:00 +01:00
elf.c objtool: Fix seg fault with Clang non-section symbols 2021-02-17 11:02:20 +01:00
elf.h objtool: Fix seg fault with Clang non-section symbols 2021-02-17 11:02:20 +01:00
Makefile tools: Factor HOSTCC, HOSTLD, HOSTAR definitions 2021-01-30 13:55:19 +01:00
objtool.c objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00
objtool.h objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00
orc_dump.c objtool: Make unwind hint definitions available to other architectures 2020-09-10 10:43:13 -05:00
orc_gen.c objtool: Fix seg fault with Clang non-section symbols 2021-02-17 11:02:20 +01:00
special.c objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00
special.h objtool: Refactor jump table code to support other architectures 2020-09-10 10:43:13 -05:00
sync-check.sh objtool: Make unwind hint definitions available to other architectures 2020-09-10 10:43:13 -05:00
warn.h
weak.c objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00