ELIMINATE_COPY_RELOCS problems on ppc
Alan Modra
amodra@bigpond.net.au
Wed Apr 2 23:15:00 GMT 2003
On Wed, Apr 02, 2003 at 04:42:28PM +0200, Jakub Jelinek wrote:
> segfaults the linker on ppc32 (while it used to work just fine
Thanks, the testcase is really useful! I had been trying to debug
this problem by remote-control with someone at Gentoo without
much luck. It turns out that the root of the problem is
SYMBOL_REFERENCES_LOCAL in ppc_elf_check_relocs, in combination
with reference counting of the plt. Previous versions of ppc
binutils didn't properly reference count the plt, and check_relocs
is too early to decide whether a symbol is really local.
I'll cook up a fix.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list