This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld segfault for powerpc-linux with CVS trunk
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: James Troup <james at nocrew dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 5 Nov 2003 13:48:51 +1030
- Subject: Re: ld segfault for powerpc-linux with CVS trunk
- References: <87u15jr240.fsf@shiri.gloaming.local>
On Wed, Nov 05, 2003 at 02:16:47AM +0000, James Troup wrote:
> The files mentioned in the command line are available from:
Excellent! The rest of the bug report was good too.
> [FWIW, this is a regression from 2.14.90.0.6 (...if only to provide a
> rough timeframe)]
Probably due to string merge code being updated..
> sym_name = 0x101a0110 ".rodata.cst8"
This indicates the reloc was against a section symbol in a SEC_MERGE
section. sec->output_section for these sections is not the correct
output section to use when generating relocs. Hmm, I think we need
some changes to _bfd_elf_rela_local_sym, so that it returns the
proper section as _bfd_elf_rel_local_sym does.
I'll fix this soon.
--
Alan Modra
IBM OzLabs - Linux Technology Centre