[GIT PULL] objtool fixes

From: Ingo Molnar

Date: Sat Mar 14 2026 - 23:13:45 EST


Linus,

Please pull the latest objtool/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-urgent-2026-03-15

for you to fetch changes up to 9a73f085dc91980ab7fcc5e9716f4449424b3b59:

Miscellaneous objtool fixes:

- Fix cross-build bug by using HOSTCFLAGS for HAVE_XXHASH test
- Fix klp bug by fixing detection of corrupt static branch/call entries
- Handle unsupported pr_debug() usage more gracefully
- Fix hypothethical klp bug by avoiding NULL pointer dereference when printing code symbol name
- Fix data alignment bug in elf_add_data() causing mangled strings
- Fix confusing ERROR_INSN() error message
- Handle unexpected Clang RSP musical chairs causing false positive warnings
- Fix another objtool stack overflow in validate_branch()

Thanks,

Ingo

------------------>
HONG Yifan (1):
objtool: Use HOSTCFLAGS for HAVE_XXHASH test

Josh Poimboeuf (7):
objtool/klp: Fix detection of corrupt static branch/call entries
objtool/klp: Disable unsupported pr_debug() usage
objtool/klp: Avoid NULL pointer dereference when printing code symbol name
objtool: Fix data alignment in elf_add_data()
objtool: Fix ERROR_INSN() error message
objtool: Handle Clang RSP musical chairs
objtool: Fix another stack overflow in validate_branch()


tools/objtool/Makefile | 2 +-
tools/objtool/arch/x86/decode.c | 62 +++++++++++++-----------------------
tools/objtool/check.c | 24 +++++++++++---
tools/objtool/elf.c | 2 +-
tools/objtool/include/objtool/warn.h | 2 +-
tools/objtool/klp-diff.c | 39 +++++++++++++++--------
6 files changed, 71 insertions(+), 60 deletions(-)