OpenCloudOS-Kernel/tools/objtool/arch/x86
Alexandre Chartre 8aa8eb2a8f objtool: Add support for intra-function calls
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
2020-04-30 20:14:33 +02:00
..
include objtool: Split out arch-specific CFI definitions 2020-04-22 10:53:49 +02:00
Build objtool: Move x86 insn decoder to a common location 2019-08-31 22:27:52 -03:00
decode.c objtool: Add support for intra-function calls 2020-04-30 20:14:33 +02:00