This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix IA-64 -pie support
On Wed, Jul 02, 2003 at 02:43:11PM -0700, Richard Henderson wrote:
> 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?
That was the:
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
.opd if -pie.
(OTHER_READWRITE_SECTIONS): Include .opd if -pie.
hunk.
Jakub