Skip to content

Commit 82a8954

Browse files
author
Peter Zijlstra
committed
objtool: Remove .fixup handling
The .fixup has gone the way of the Dodo, that test will always be false. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lore.kernel.org/r/20211110101326.261496792@infradead.org
1 parent e5eefda commit 82a8954

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tools/objtool/check.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3310,14 +3310,10 @@ static bool ignore_unreachable_insn(struct objtool_file *file, struct instructio
33103310
return true;
33113311

33123312
/*
3313-
* Ignore any unused exceptions. This can happen when a whitelisted
3314-
* function has an exception table entry.
3315-
*
3316-
* Also ignore alternative replacement instructions. This can happen
3313+
* Ignore alternative replacement instructions. This can happen
33173314
* when a whitelisted function uses one of the ALTERNATIVE macros.
33183315
*/
3319-
if (!strcmp(insn->sec->name, ".fixup") ||
3320-
!strcmp(insn->sec->name, ".altinstr_replacement") ||
3316+
if (!strcmp(insn->sec->name, ".altinstr_replacement") ||
33213317
!strcmp(insn->sec->name, ".altinstr_aux"))
33223318
return true;
33233319

0 commit comments

Comments
 (0)