Should strip discard the .ctf section ?

Hans-Peter Nilsson hp@bitrange.com
Sun Oct 6 17:25:00 GMT 2019


On Sat, 5 Oct 2019, Nick Alcock wrote:

...
> By that point you wouldn't want to strip
> it out by default because too many programs would be using it, any more
> than you'd want to strip out, say, .eh_frame.
...

ITYM .debug_frame.  Keeping .eh_frame is quite necessary for the
program to work correctly, if or when an exception is thrown.

...
> if leaving it in is not as uncontroversial as
> leaving in .eh_frame, it is too large. Right now it is about 2% of text
> size, i.e. about the same size as .eh_frame:
...

Not just nitpicking, as this may be relevant to your
observations and argumentation based on those statements in the
continued discussion.

brgds, H-P



More information about the Binutils mailing list