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:
>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                                            |
> ---------------------------------------------------------------------+


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