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 _______________________________________________ elfutils-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/elfutils-devel
