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: HPPA ELF DT_PLTGOT handling


> A much more convenient (from the POV of the dynamic linker) is to always set 
> DT_PLTGOT to a pointer to the GOT. glibc goes searching for the GOT which it 
> would no longer need to do. Is this worth considering?

No.  It would change the ABI and break existing code.

I agree that trying to choose a value for elf_gp that is best for accessing
this data is pretty much a waste of time since we don't try to eliminate
unnecessary addil instructions, or sort the data to improve access.  This
is something that the HP linker does.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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