PATCH [v3]: makes --gc-sections compatible with -r/-q
Fri Jan 25 09:24:00 GMT 2008
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.
Australia Development Lab, IBM
More information about the Binutils