]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - tools/objtool/check.c
objtool: Make unwind hint definitions available to other architectures
authorJulien Thierry <jthierry@redhat.com>
Fri, 4 Sep 2020 15:30:27 +0000 (16:30 +0100)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 10 Sep 2020 15:43:13 +0000 (10:43 -0500)
commitee819aedf34a8f35cd54ee3967c7beb4d1d4a635
tree7796908fb5cba3457a49ebba491a119355cdb72a
parent5567c6c39f3404e4492c18c0c1abff5556684f6e
objtool: Make unwind hint definitions available to other architectures

Unwind hints are useful to provide objtool with information about stack
states in non-standard functions/code.

While the type of information being provided might be very arch
specific, the mechanism to provide the information can be useful for
other architectures.

Move the relevant unwint hint definitions for all architectures to
see.

[ jpoimboe: REGS_IRET -> REGS_PARTIAL ]

Signed-off-by: Julien Thierry <jthierry@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
arch/x86/include/asm/orc_types.h
arch/x86/include/asm/unwind_hints.h
arch/x86/kernel/unwind_orc.c
include/linux/objtool.h
tools/arch/x86/include/asm/orc_types.h
tools/include/linux/objtool.h [new file with mode: 0644]
tools/objtool/check.c
tools/objtool/orc_dump.c
tools/objtool/orc_gen.c
tools/objtool/sync-check.sh