[GIT PULL] objtool/urgent for v5.15-rc6

From: Borislav Petkov
Date: Sun Oct 17 2021 - 06:33:43 EST


Hi Linus,

please pull two more urgent objtool fixes for 5.15.

Thx.

---

The following changes since commit fe255fe6ad97685e5a4be0d871f43288dbc10ad6:

objtool: Remove redundant 'len' field from struct section (2021-10-05 12:03:21 -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.15_rc6

for you to fetch changes up to 86e1e054e0d2105cf32b0266cf1a64e6c26424f7:

objtool: Update section header before relocations (2021-10-06 20:11:57 -0700)

----------------------------------------------------------------
- Update section headers before the respective relocations to not
trigger a safety check in elftoolchain's implementation of libelf

- Do not add garbage data to the .rela.orc_unwind_ip section

----------------------------------------------------------------
Michael Forney (2):
objtool: Check for gelf_update_rel[a] failures
objtool: Update section header before relocations

tools/objtool/elf.c | 56 ++++++++++++++++++++++++-----------------------------
1 file changed, 25 insertions(+), 31 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg