kernel_samsung_a53x/tools/objtool
John Sperbeck b4fa266c07 objtool/x86: add missing embedded_insn check
When dbf460087755 ("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>
2024-11-18 10:58:45 +01:00
..
arch/x86 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Documentation Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Build Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-check.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-orc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cfi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
check.c objtool/x86: add missing embedded_insn check 2024-11-18 10:58:45 +01:00
check.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
objtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
objtool.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orc_dump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orc_gen.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
special.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
special.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sync-check.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
warn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
weak.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00