This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]