Proposal for STT_GNU_IFUNC and R_*_IRELATIVE
Ulrich Drepper
drepper@redhat.com
Thu May 28 14:20:00 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alan Modra wrote:
> Is it true that the new IRELATIVE relocation should only appear in
> .plt, and the .plt entries involved are all the size size? If so, ld
> can ensure that all such .plt entries are adjacent and emit two new
> tags giving the array location and size.
Once again with the special handling. This isn't faster.
Aside from that, unknown DT_* flags are no fatal errors at program
loading time. Unknown relocations are. The result is that with your
proposal people running new binaries on old systems will see mysterious
crashes or worse, strange results. With new relocations they will see a
useful error message and predictable behavior.
- --
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoem4cACgkQ2ijCOnn/RHRdkwCggAql//ieDFxEkq77qvh8VE1U
NGQAniqeY1BD08SsHSqJpGHCrU1Iqe7Y
=SAav
-----END PGP SIGNATURE-----
More information about the Libc-alpha
mailing list