This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFC PATCH] Enabling ld -r ELF .stab/.stabstr optimization
Earl Chew <earl_chew@agilent.com> writes:
> 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?
Perhaps not. Somebody needs to test it.
I still don't think -r should imply --traditional-format.
Ian