This is the mail archive of the
mailing list for the elfutils project.
Re: Strip on mips
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 21 Mar 2012 22:04:52 +0100
- Subject: 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.