summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-09-21 00:31:04 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-09-21 00:31:04 +0200
commit1f8ee7e8521a496024fb504de9eacbb49bd9152a (patch)
tree104167508c9c98b6cb03e72af91b751a033eb030 /tools
parentMerge tag 'locking_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/scm/linux... (diff)
parentobjtool: Fix noreturn detection for ignored functions (diff)
downloadlinux-1f8ee7e8521a496024fb504de9eacbb49bd9152a.tar.xz
linux-1f8ee7e8521a496024fb504de9eacbb49bd9152a.zip
Merge tag 'objtool_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull objtool fix from Borislav Petkov: "Fix noreturn detection for ignored sibling functions (Josh Poimboeuf)" * tag 'objtool_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: objtool: Fix noreturn detection for ignored functions
Diffstat (limited to 'tools')
-rw-r--r--tools/objtool/check.c2
1 files changed, 1 insertions, 1 deletions
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,