bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29737] strip: section attributes to indicate strip or pers


From: guillermo.e.martinez at oracle dot com
Subject: [Bug binutils/29737] strip: section attributes to indicate strip or persistent sections
Date: Wed, 09 Nov 2022 18:50:42 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29737

--- Comment #9 from Guillermo E. Martinez <guillermo.e.martinez at oracle dot 
com> ---
(In reply to Nick Clifton from comment #8)

Hello Nick,

> Sorry - I do not think that this is going to happen.
> 

OK. I see, but I made a really big mistake because my original perception was
that eu-strip removes .ctf section, but it doesn't, because it doesn't have a
"debug" section name. 

> Using section flags has been vetoed because there are too many different
> ways to strip a binary, and not enough flags to encompass them all.
> 

Even though, if we want remove by default a section, it should be specially
named (`dwarf_scn_names').

> Using extended section types might help, but even then you need to persuade
> the maintainers of all the different strip tools to agree on which section
> types map to which stripping modes.  Plus when new section types are added
> you have to go through the whole process again.
> 
> All of the strip tools do provide mechanisms for explicitly specifying which
> sections should be removed, so for now that will have to do.

OK, good.

Thanks, and sorry for my misunderstanding.
guillermo

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]