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: [RFC PATCH] Enabling ld -r ELF .stab/.stabstr optimization


Ian Lance Taylor wrote:
> Having -r optimize stabs sections will work poorly if the resulting
> object is indeed linked with other objects, as opportunities for
> optimizing stabs in the resulting executable between different -r
> objects will be lost.  This will hurt a certain style of building
> large programs, in which each directory contributes a single .o file
> built using -r.

Would you give an example illustrating this? My understanding
is that the .stabs string optimisation basically removes duplicates,
and I cannot see how that would hurt further downstream optimisation.

Earl


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