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
This commit is contained in:
parent
e5eefda5aa
commit
82a8954acd
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue