diff options
author | Julien Thierry <jthierry@redhat.com> | 2020-09-04 17:30:27 +0200 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@redhat.com> | 2020-09-10 17:43:13 +0200 |
commit | ee819aedf34a8f35cd54ee3967c7beb4d1d4a635 (patch) | |
tree | 7796908fb5cba3457a49ebba491a119355cdb72a /tools/objtool/sync-check.sh | |
parent | objtool: Only include valid definitions depending on source file type (diff) | |
download | linux-ee819aedf34a8f35cd54ee3967c7beb4d1d4a635.tar.xz linux-ee819aedf34a8f35cd54ee3967c7beb4d1d4a635.zip |
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>
Diffstat (limited to 'tools/objtool/sync-check.sh')
-rwxr-xr-x | tools/objtool/sync-check.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/objtool/sync-check.sh b/tools/objtool/sync-check.sh index cea1c12607b9..606a4b5e929f 100755 --- a/tools/objtool/sync-check.sh +++ b/tools/objtool/sync-check.sh @@ -6,8 +6,10 @@ if [ -z "$SRCARCH" ]; then exit 1 fi +FILES="include/linux/objtool.h" + if [ "$SRCARCH" = "x86" ]; then -FILES=" +FILES="$FILES arch/x86/include/asm/inat_types.h arch/x86/include/asm/orc_types.h arch/x86/include/asm/emulate_prefix.h |