HPPA ELF DT_PLTGOT handling

Nick Hudson skrll@netbsd.org
Thu Jul 8 12:13:00 GMT 2004


On Wednesday 07 July 2004 21:49, John David Anglin wrote:
> > 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.

Setting the DT_PLTGOT and GP to a pointer to the GOT wouldn't break the ABI. I 
guess the point is that the binutils linker and HP linkers would do different 
things, though.

If nothing else the comment against DT_PLTGOT should changed.

Nick


-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf32-hppa.c.diff
Type: text/x-diff
Size: 493 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040708/f939a831/attachment.bin>


More information about the Binutils mailing list