linux/tools/objtool
John Sperbeck 5926b0886d objtool/x86: add missing embedded_insn check
When dbf4600877 ("objtool/x86: Fixup frame-pointer vs rethunk")
was backported to some stable branches, the check for dest->embedded_insn
in is_special_call() was missed.  The result is that the warning it
was intended to suppress still appears.  For example on 6.1 (on kernels
before 6.1, the '-s' argument would instead be 'check'):

$ tools/objtool/objtool -s arch/x86/lib/retpoline.o
arch/x86/lib/retpoline.o: warning: objtool: srso_untrain_ret+0xd:
    call without frame pointer save/setup

With this patch, the warning is correctly suppressed, and the
kernel still passes the normal Google kernel developer tests.

Signed-off-by: John Sperbeck <jsperbeck@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-02 09:35:33 +01:00
..
arch/x86 objtool/x86: Fix SRSO mess 2023-08-27 21:01:31 +02:00
Documentation
include/objtool objtool/x86: Fix SRSO mess 2023-08-27 21:01:31 +02:00
.gitignore
Build
builtin-check.c x86/retbleed: Add fine grained Kconfig knobs 2022-06-29 17:43:41 +02:00
check.c objtool/x86: add missing embedded_insn check 2023-11-02 09:35:33 +01:00
elf.c objtool: Preserve special st_shndx indexes in elf_update_symbol 2022-09-26 10:13:15 -07:00
Makefile
objtool.c
orc_dump.c
orc_gen.c
special.c
sync-check.sh
weak.c