summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-11-10 11:01:25 +0100
committerPeter Zijlstra <peterz@infradead.org>2021-12-11 09:09:51 +0100
commit82a8954acd93ae95d6252fb93a3d210c8f71b093 (patch)
tree6e9c15a0195fba56b16ef5ac00703f0b5ec03a8c
parente5eefda5aa51f3178821b58806e1dddd798c0934 (diff)
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
-rw-r--r--tools/objtool/check.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index e28172f6e792..9fd81490ff07 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -3310,14 +3310,10 @@ static bool ignore_unreachable_insn(struct objtool_file *file, struct instructio
return true;
/*
- * Ignore any unused exceptions. This can happen when a whitelisted
- * function has an exception table entry.
- *
- * Also ignore alternative replacement instructions. This can happen
+ * Ignore alternative replacement instructions. This can happen
* when a whitelisted function uses one of the ALTERNATIVE macros.
*/
- if (!strcmp(insn->sec->name, ".fixup") ||
- !strcmp(insn->sec->name, ".altinstr_replacement") ||
+ if (!strcmp(insn->sec->name, ".altinstr_replacement") ||
!strcmp(insn->sec->name, ".altinstr_aux"))
return true;