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: PATCH: Re: hppa64-hp-hpux11.00: invalid string offset for section .dynstr


On Mon, Jun 24, 2002 at 04:44:40PM -0400, John David Anglin wrote:
> > Relocation section '.rela.dyn' at offset 0x558 contains 1 entries:
> >   Offset          Info           Type           Sym. Value    Sym. Name +
> > Addend
> > 8000000000001010  001300000082 R_PARISC_EPLT     40000000000015f0
> > .CreateImage +
> 
> My first impression is that the linker script doesn't provide '.rela.opd'
> and this is why the relocs end up in the default 'rela.dyn'.

Yes, link_info.combreloc now defaults to true.  That's why the relocs
are being put into rela.dyn.  Hmm, I see elf64-hppa.c doesn't define
elf_backend_reloc_type_class, so reloc sorting won't be ideal.
Perhaps combreloc ought to be turned off for elf64-hppa?

-- 
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]