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
- Date: Thu, 20 Jun 2002 21:29:11 -0400 (EDT)
- Subject: Re: hppa64-hp-hpux11.00: invalid string offset for section .dynstr
> Does nm -D "work fine"? My guess is that it's too late to set dynindx
> to -1 in finish_dynamic_symbol, ie. that space in the dynamic sym
> table has already been allocated. By setting dynindx to -1, all you
> accomplish is not writing an entry in dynsym, leaving whatever garbage
> happened to be in memory.
Is the solution to force the symbols to be local as in elf32-hppa.c?
The HP linker doesn't seem to do this but it also manages to keep them
out of the dynamic symbol table.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)