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 inppc_elf_create_linker_section
Alan Modra <amodra@bigpond.net.au> writes:
> 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.
Thanks, now the testsuite passes again on ppc,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj