Re: [PATCH 4/6] objtool: Replace STACK_FRAME_NON_STANDARD annotation

From: Josh Poimboeuf
Date: Mon Feb 25 2019 - 11:23:17 EST


On Mon, Feb 25, 2019 at 05:17:22PM +0100, Peter Zijlstra wrote:
> > Including the file creates the section, which is a bit nasty. Instead
> > just change STACK_FRAME_NON_STANDARD to prefix every string with a \0?
>
> That would get us \0\0 between every string, which I suppose is in-spec,
> but weird. I figured that since it is a .discard. section, getting it
> wasn't a problem.

It would just bother me, as a power user of readelf, to see those unused
sections everywhere :-) Maybe it's not a big deal though.

--
Josh