Re: [RFC][PATCH 15/16] objtool: Implement noinstr validation

Peter Zijlstra
2020-03-16T16:46:35Z

On Mon, Mar 16, 2020 at 11:21:47AM -0500, Josh Poimboeuf wrote:
> On Mon, Mar 16, 2020 at 11:19:07AM -0500, Josh Poimboeuf wrote:
> > > And I was hoping to get vmlinux.o objtool clean, surprisingly there
> > > really aren't that many complaints. But the -i thing makes it run
> > > significantly faster without duplicating all the bits we've already
> > > checked.
> >
> > My suggestion is that the "-i" option would be hard-coded (for now). So
> > nothing extra would get checked.
>
> If that wasn't clear, I mean that for vmlinux.o we'd only do the
> instr-checking. For individual .o's we'd do everything else.

That'd get in the way of making vmlinux.o objtool clean though :/