This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: excessive stab information


"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


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