Re: [PATCH V2 1/9] objtool: Introduce HINT_RET_OFFSET

From: Peter Zijlstra
Date: Tue Apr 07 2020 - 08:53:32 EST


On Tue, Apr 07, 2020 at 09:31:34AM +0200, Alexandre Chartre wrote:
> diff --git a/tools/objtool/check.h b/tools/objtool/check.h
> index 6d875ca6fce0..7a91497fee7e 100644
> --- a/tools/objtool/check.h
> +++ b/tools/objtool/check.h
> @@ -33,9 +33,12 @@ struct instruction {
> unsigned int len;
> enum insn_type type;
> unsigned long immediate;
> - bool alt_group, dead_end, ignore, hint, save, restore, ignore_alts;
> + unsigned int alt_group;

^^ that wants to be in a later patch I'm thinking

> + bool dead_end, ignore, ignore_alts;
> + bool hint, save, restore;
> bool retpoline_safe;
> u8 visited;
> + u8 ret_offset;
> struct symbol *call_dest;
> struct instruction *jump_dest;
> struct instruction *first_jump_src;
> --
> 2.18.2
>