This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Support STT_GNU_IFUNC in executables
- From: Ulrich Drepper <drepper at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 26 May 2009 14:25:55 -0700
- Subject: Re: PATCH: Support STT_GNU_IFUNC in executables
- References: <20090526211120.GA30522@lucon.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
H.J. Lu wrote:
> We have STT_GNU_IFUNC symbol definitions in executables, which leads
> to DT_TEXTREL. We need to turn on PROT_EXEC during relocation.
What? No, this mustn't happen. Why should there be text relocations?
Is this your R_*_IRELATIVE implementation? It should not need text
relocations because it should use a GOT slot and an indirect jump.
It's absolutely impossible to introduce anything that requires
executable text.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkocXmMACgkQ2ijCOnn/RHSk2gCgythSaTZDF201XRTLWo9XEreZ
Cf0An0ShX3StTvfx0RTJH/s9cmK2oSw4
=S6lq
-----END PGP SIGNATURE-----