This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ELIMINATE_COPY_RELOCS problems on ppc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]