This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: PATCH: Support STT_GNU_IFUNC in executables


-----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-----


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