excessive stab information
Ian Lance Taylor
ian@airs.com
Thu Apr 28 15:34:00 GMT 2005
"Andy Chittenden" <AChittenden@bluearc.com> writes:
> I've now sorted out our #includes so that no header file defines a type
> within a #ifdef. This did save around 3% on the size of an elf so thanks
> for that suggestion. However, we still have massive stabs. Further
> analysis of the output of objdump --stabs led me to develop this patch
> to bfd/stabs.c which removes a further 2%: is it ok to apply?
Is it OK for you to apply? Sure, looks safe enough.
Is it OK for the GNU binutils? I dunno. First, it would have to use
lrealpath rather than realpath. Second, it seems to me that it will
slow down a stabs link slightly, but for most people will provide no
benefit. Most people do not refer to the same header file using two
different names.
Ian
More information about the Binutils
mailing list