[RFC PATCH] Enabling ld -r ELF .stab/.stabstr optimization
Earl Chew
earl_chew@agilent.com
Tue Oct 1 10:34:00 GMT 2002
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
More information about the Binutils
mailing list