[PATCH] More aggressive --gc-sections
Alan Modra
amodra@bigpond.net.au
Fri Mar 19 08:38:00 GMT 2004
On Fri, Mar 19, 2004 at 01:51:26AM +0100, Eric Botcazou wrote:
> > No. Neither info->relocatable nor info->emitrelocations are necessarily
> > set. You want to add info->shared to the following. Patch OK for
> > mainline binutils with that change.
>
> Ah! Ok, thanks for the clarification. And the approval.
I decided to approve the patch because it clearly doesn't break
anything, and it's a step in the right direction. Further refinements
may be necessary..
> When (if) the GCC part is accepted, do you want me to write C++ testcases for
> this?
Yes please.
> (I presume you noticed the 2
> failures with GCC mainline because of the now dead -fvtable-gc).
Yes, I have. There are many other failures like this, especially on
non-ELF platforms, where a failure isn't really showing a problem with
the tool but rather with the test.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list