Re: [PATCH 0/2] objtool: a couple of minor fixes

From: Josh Poimboeuf
Date: Wed Oct 26 2016 - 08:47:57 EST


On Wed, Oct 26, 2016 at 09:58:29AM +0200, Arnd Bergmann wrote:
> On Thursday, October 13, 2016 4:22:51 PM CEST Josh Poimboeuf wrote:
> > Fix a couple of issues:
> >
> > - fix a false positive warning related to switch statement jump tables
> > - get rid of useless "unreachable instruction" warnings for gcov kernels
> >
> > Josh Poimboeuf (2):
> > objtool: improve rare switch jump table pattern detection
> > objtool: skip all "unreachable instruction" warnings for gcov kernels
> >
> > tools/objtool/builtin-check.c | 68 ++++++++++++++++++++++---------------------
> > 1 file changed, 35 insertions(+), 33 deletions(-)
>
> I got another warning today with linux-next, but have not looked into it:
>
> drivers/infiniband/sw/rxe/rxe_comp.o: warning: objtool: rxe_completer()+0x315: sibling call from callable instruction with changed frame pointer
>
> .config and object file attached.

I think this is the same as one of the warnings you reported before (for
which I opened the gcc bug):

https://lkml.kernel.org/r/1855683.1QnG4Fe4Hq@wuerfel

--
Josh