android_kernel_xiaomi_sm8350/tools/objtool
Alexandre Chartre f8f25fde0c objtool: Add support for intra-function calls
commit 8aa8eb2a8f5b3305a95f39957dd2b715fa668e21 upstream.

Change objtool to support intra-function calls. On x86, an intra-function
call is represented in objtool as a push onto the stack (of the return
address), and a jump to the destination address. That way the stack
information is correctly updated and the call flow is still accurate.

Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200414103618.12657-4-alexandre.chartre@oracle.com
Signed-off-by: Rui Qi <qirui.001@bytedance.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-13 12:51:29 +02:00
..
arch/x86 objtool: Add support for intra-function calls 2024-04-13 12:51:29 +02:00
Documentation objtool: Add support for intra-function calls 2024-04-13 12:51:29 +02:00
.gitignore
arch.h
Build
builtin-check.c
builtin-orc.c
builtin.h
cfi.h
check.c objtool: Add support for intra-function calls 2024-04-13 12:51:29 +02:00
check.h
elf.c
elf.h
Makefile
objtool.c
orc.h
orc_dump.c
orc_gen.c
special.c
special.h
sync-check.sh
warn.h