This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH [v3]: makes --gc-sections compatible with -r/-q
On Wed, Jan 23, 2008 at 05:50:24PM +0100, Andreas Schwab wrote:
> The object file for ppc64 is attached. That is the only remaining
> failure now.
ppc64 is failing because ppc64_elf_gc_mark_hook isn't smart enough to
allow unused variables to be dropped. It needs to treat .toc like
.opd, ie. not mark .toc when a reloc references .toc, but instead
mark the section referenced by that .toc entry.
If you'd like, xfail them for ppc64 at the moment. I don't think I'll
get around to fixing this problem in the near future.
--
Alan Modra
Australia Development Lab, IBM