This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: hppa64-hp-hpux11.00: invalid string offset for section .dynstr
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: amodra at bigpond dot net dot au (Alan Modra)
- Cc: hjl at lucon dot org, ross dot alexander at uk dot neceur dot com, law at redhat dot com, binutils at sources dot redhat dot com, binutils-owner at sources dot redhat dot com
- Date: Thu, 20 Jun 2002 20:38:58 -0400 (EDT)
- Subject: Re: hppa64-hp-hpux11.00: invalid string offset for section .dynstr
> On Wed, Jun 19, 2002 at 05:57:50PM -0400, John David Anglin wrote:
> > > It sounds like a SHF_MERGE bug. I just fixed a SHF_MERGE bug on
> > > ELF/mips. Do
I don't think that it's a SHF_MERGE bug. The problem involves
millicode symbols. For some reason, fields such as st_name, etc,
are garbage causing the failure of bfd_elf_string_from_elf_section.
We set h->dynindx = -1 for these symbols but there is little
else in their processing that appears special. The strange thing
is nm works fine and the names are present in .dynstr in the expected
order. I believe the error message is relatively new (last couple
of months).
Anybody got any clues on what needs to be done to get the symbol
table fields set correctly for millicode symbols?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)