This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strip on mips


On Wed, 2012-03-21 at 09:32 -0700, Roland McGrath wrote:
> I don't see any reason to treat nonstandard section types specially at all.
> The norm is to strip non-allocated sections.  We have special exceptions
> for SHT_NOTE and a few named SHT_PROGBITS sections that particularly should
> not be stripped.  If there are any nonstandard types that should not be
> stripped, then we can add special cases for those.
> 
> Unless anyone can cite a good reason not to, I'll just remove the
> < SHT_NUM check entirely.

I cannot think of a good reason not to. Except that there might be
unknown arch specific section types that need special handling because
they aren't marked SHF_ALLOC but still cannot be stripped. But like you
said, lets add explicit special cases for them if they do pop up.

Cheers,

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]