[GIT PULL] objtool/urgent for 5.18

From: Borislav Petkov
Date: Sun May 01 2022 - 07:49:21 EST


Hi Linus,

please pull a couple of urgent objtool fixes for 5.18.

Thx.

---

The following changes since commit b2d229d4ddb17db541098b83524d901257e93845:

Linux 5.18-rc3 (2022-04-17 13:57:31 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/objtool_urgent_for_v5.18_rc5

for you to fetch changes up to 4abff6d48dbcea8200c7ea35ba70c242d128ebf3:

objtool: Fix code relocs vs weak symbols (2022-04-22 12:13:55 +0200)

----------------------------------------------------------------
- A bunch of objtool fixes to improve unwinding, sibling call detection,
fallthrough detection and relocation handling of weak symbols when the
toolchain strips section symbols

----------------------------------------------------------------
Josh Poimboeuf (4):
x86/uaccess: Don't jump between functions
objtool: Don't set 'jump_dest' for sibling calls
objtool: Fix sibling call detection in alternatives
objtool: Fix function fallthrough detection for vmlinux

Peter Zijlstra (2):
objtool: Fix type of reloc::addend
objtool: Fix code relocs vs weak symbols

arch/x86/lib/copy_user_64.S | 87 +++++++++------
tools/objtool/check.c | 81 +++++++-------
tools/objtool/elf.c | 189 ++++++++++++++++++++++++++++----
tools/objtool/include/objtool/elf.h | 4 +-
tools/objtool/include/objtool/objtool.h | 2 +-
tools/objtool/objtool.c | 1 -
6 files changed, 265 insertions(+), 99 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg