Re: [PATCH 9/9] objtool: Collect all annotations in objtool.h

From: Peter Zijlstra
Date: Mon Nov 25 2024 - 08:40:31 EST


On Mon, Nov 25, 2024 at 02:06:13PM +0100, Peter Zijlstra wrote:
> On Sat, Nov 23, 2024 at 02:19:43PM +0100, Peter Zijlstra wrote:
>
> > > BTW, is there a reason .discard.[un]reachable weren't converted over?
> >
> > Completely forgot/missed them. Let me add a patch.
>
> So this is turning into a bit of a trainwreck :/
>
> That is, the below works, but I ended up having to include objtool.h
> from compiler.h, which is really unfortunate.

Or rather, I suppose I can move unreachable() into objtool.h (or another
header entirely) and go include it from all the various files that call
it.

Only ~70 files.