ld segfault for powerpc-linux with CVS trunk

Alan Modra amodra@bigpond.net.au
Wed Nov 5 03:18:00 GMT 2003


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



More information about the Binutils mailing list