[RFC PATCH] Enabling ld -r ELF .stab/.stabstr optimization

Earl Chew earl_chew@agilent.com
Tue Oct 1 22:25:00 GMT 2002


Ian Lance Taylor wrote:
 >Earl wrote:
>>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.
> 
> 
> There is duplicate string removal, yes, but there is also header file
> consolidation.
> 
> Actually, though, maybe I'm wrong.  All the individual stabs sections
> will be merged into a single stab section, but header file
> consolidation may still work as before.
> 
> So I guess my only real concern would be that the consolidated stabs
> section be correct for another link, which is probably is.

So where does this leave us? Do you think we need to use the
--no-optimize-stabs option?

Earl
-- 
 > ---------------------------------------------------------------------+
 > Earl Chew                              http://www.agilent.com        |
 > Agilent Technologies                   mailto:earl_chew@agilent.com  |
 > Advanced Networks Division             Tel:   +1 604 454 3411        |
 > 2500-4710 Kingsway                     Fax:   +1 604 454 3401        |
 > Burnaby BC V5H 4M2 Canada                                            |
 > ---------------------------------------------------------------------+



More information about the Binutils mailing list