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

From: Borislav Petkov
Date: Sun Sep 20 2020 - 15:59:18 EST


Hi Linus,

please pull a single objtool fix.

Thx.

---
The following changes since commit 856deb866d16e29bd65952e0289066f6078af773:

Linux 5.9-rc5 (2020-09-13 16:06:00 -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.9_rc6

for you to fetch changes up to db6c6a0df840e3f52c84cc302cc1a08ba11a4416:

objtool: Fix noreturn detection for ignored functions (2020-09-18 19:37:51 +0200)

----------------------------------------------------------------
Fix noreturn detection for ignored sibling functions, from Josh
Poimboeuf.

----------------------------------------------------------------
Josh Poimboeuf (1):
objtool: Fix noreturn detection for ignored functions

tools/objtool/check.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index e034a8f24f46..90a66891441a 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -619,7 +619,7 @@ static int add_jump_destinations(struct objtool_file *file)
if (!is_static_jump(insn))
continue;

- if (insn->ignore || insn->offset == FAKE_JUMP_OFFSET)
+ if (insn->offset == FAKE_JUMP_OFFSET)
continue;

reloc = find_reloc_by_dest_range(file->elf, insn->sec,

--
Regards/Gruss,
Boris.

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