This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix ld segfaults under hppa64-hp-hpux11
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: law at redhat dot com
- Cc: dave dot anglin at nrc dot ca, ross dot alexander at uk dot neceur dot com, amodra at bigpond dot net dot au, binutils at sources dot redhat dot com
- Date: Thu, 13 Jun 2002 18:35:45 -0400 (EDT)
- Subject: Re: Fix ld segfaults under hppa64-hp-hpux11
> However, I vaguely remember that HPs use PLTGOT in a nonstandard way, so if
> generic code is stripping the PLT because it is unneeded, we may still need
> the PLTGOT entry in the .dynamic section.
It's not being stripped by the generic code. The decision to strip is
made in elf64-hppa.c The code to set gp is in elf-hppa.h.
I ran into some problems with my simple fix. It seems the opd section
is still needed bt the "final_link" code even when stripped.
Have to run now.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)