PATCH: Re: hppa64-hp-hpux11.00: invalid string offset for section .dynstr

Alan Modra amodra@bigpond.net.au
Mon Jun 24 17:42:00 GMT 2002


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



More information about the Binutils mailing list