PATCH: Generic function descriptor
Ulrich Drepper
drepper@redhat.com
Thu Apr 3 21:51:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
H. J. Lu wrote:
> Both ia64 and hppa use function descriptor. They can share the same
> code. I updated my old patch against today's CVS. It works find on ia64.
If you want to work on this then do it right. The current ia64 code is
nothing but a stop-gap solution. It is sow and hideous.
A correct implementation should at the very least uses futexes when
available. Much better is a lockless implementation. The general
lookup code is thread- and signal-safe. It's only the descriptor
handling which has problems. One possibility is to in principal emulate
load lock/storage conditional (ia64 has now a cmp8xchg16 instruction).
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+jKzk2ijCOnn/RHQRAnPJAJsEZKGreHpN6rheooWcIJ9nZIieKACcCiLr
B865oxe+RLrCUBL4xEQvIiw=
=Db/O
-----END PGP SIGNATURE-----
More information about the Libc-alpha
mailing list