Skip to content

Commit

Permalink
Merge tag 'objtool_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/s…
Browse files Browse the repository at this point in the history
…cm/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
  • Loading branch information
torvalds committed Sep 20, 2020
2 parents 3d49167 + db6c6a0 commit 1f8ee7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/objtool/check.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1f8ee7e

Please sign in to comment.