diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 110ea3d8477240febfc75c4df429c5234a67ec38..950d0f62d22b37f208768e361465bf3ef38050b6 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -695,6 +695,7 @@ static int handle_group_alt(struct objtool_file *file, last_new_insn = insn; insn->ignore = orig_insn->ignore_alts; + insn->func = orig_insn->func; if (insn->type != INSN_JUMP_CONDITIONAL && insn->type != INSN_JUMP_UNCONDITIONAL)