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: ld segfault for powerpc-linux with CVS trunk


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


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