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
- From: Earl Chew <earl_chew at agilent dot com>
- To: Ian Lance Taylor <ian at airs dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, binutils at sources dot redhat dot com
- Date: Tue, 01 Oct 2002 10:34:26 -0700
- Subject: Re: [RFC PATCH] Enabling ld -r ELF .stab/.stabstr optimization
- Organization: Agilent Technologies
- References: <3D929521.60708@agilent.com> <20021001173650.O25369@bubble.sa.bigpond.net.au> <m365wmyxt2.fsf@gossamer.airs.com>
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