Re: [PATCH v2 06/14] objtool: Fix static_call list generation

2021-03-22 Thread Miroslav Benes
> --- a/tools/objtool/check.c > +++ b/tools/objtool/check.c > @@ -1045,6 +1045,12 @@ static int add_call_destinations(struct > } else > insn->call_dest = reloc->sym; > > + if (insn->call_dest && insn->call_dest->static_call_tramp) { > +

[PATCH v2 06/14] objtool: Fix static_call list generation

2021-03-18 Thread Peter Zijlstra
Currently objtool generates tail call entries in add_jump_destination() but waits until validate_branch() to generate the regular call entries, move these to add_call_destination() for consistency. Signed-off-by: Peter Zijlstra (Intel) --- tools/objtool/check.c | 18 +- 1 file