This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils test failure on PPC: Segementation fault in ppc_elf_create_linker_section
- From: Christian Jönsson <c dot christian dot joensson at telia dot com>
- To: binutils at sources dot redhat dot com
- Cc: Andreas Jaeger <aj at suse dot de>
- Date: Mon, 15 Apr 2002 17:58:31 +0200
- Subject: Re: binutils test failure on PPC: Segementation fault in ppc_elf_create_linker_section
- References: <hozo09xor1.fsf@gee.suse.de> <20020415084534.GA26836@bubble.sa.bigpond.net.au>
On Mon, Apr 15, 2002 at 06:15:34PM +0930, Alan Modra wrote:
> On Fri, Apr 12, 2002 at 11:14:26AM +0200, Andreas Jaeger wrote:
> >
> > Running /usr/src/packages/BUILD/binutils-2.12.90.0.4/ld/testsuite/ld-srec/srec.exp ...
> > FAIL: S-records
> >
> > The problem is a segmentation fault in ld:
>
> Caused by the hash table for the srec linker being a
> struct generic_link_hash_table rather than a
> struct elf_link_hash_table.
>
> bfd/ChangeLog
> * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type.
Are there other targets that might have a similar problem?
Cheers,
/ChJ