Messages in this thread Patch in this message | | | Date | Fri, 05 Nov 2021 18:10:45 +0100 | From | Peter Zijlstra <> | Subject | [PATCH 22/22] 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> --- tools/objtool/check.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
--- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -3296,14 +3296,10 @@ static bool ignore_unreachable_insn(stru 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;
| |