Fix ld segfaults under hppa64-hp-hpux11

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Jun 13 15:35:00 GMT 2002


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



More information about the Binutils mailing list