[PATCH] Fix IA-64 -pie support

Richard Henderson rth@redhat.com
Wed Jul 2 21:44:00 GMT 2003


On Wed, Jul 02, 2003 at 02:14:09PM -0400, Jakub Jelinek wrote:
> Yeah. So, should ld issue error if setting want_ltoff_fptr and
> want_got/want_gotx is already defined or if setting want_got/want_gotx
> for something other than @ltoff(@fptr()) and want_ltoff_fptr is not defined?

That would be appropriate for 2.14, yes.  I think ideally we'd
just DTRT and allocate two got slots.

> I talked about it with Ulrich this morning and he thinks the FPTR handling
> in ld.so is more costly (compared to relocating local IPLT64LSB relocs
> and the additional memory footprint for the relocations).

Hum.  Well, if we do what you want, we can't leave .opd where it
sits in the section ordering, in the middle of the read-only data
segment.  Perhaps I missed the part of your patch that changed that?


r~



More information about the Binutils mailing list