This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/linuxthreads/sysdeps/pthread/bits libc-lock.h
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 11 Oct 2002 10:53:17 -0000
- Subject: libc/linuxthreads/sysdeps/pthread/bits libc-lock.h
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2002-10-11 03:53:17
Modified files:
linuxthreads/sysdeps/pthread/bits: libc-lock.h
Log message:
2002-10-09 Roland McGrath <roland@redhat.com>
* sysdeps/pthread/bits/libc-lock.h (__libc_maybe_call): New macro.
Under [__PIC__], call the function via the pointer fetched for
comparison rather than a call by name that uses the PLT.
(__libc_lock_init, __libc_rwlock_init, __libc_lock_fini)
(__libc_rwlock_fini, __libc_lock_lock, __libc_rwlock_rdlock)
(__libc_rwlock_wrlock, __libc_lock_trylock, __libc_rwlock_tryrdlock)
(__libc_rwlock_trywrlock, __libc_lock_unlock, __libc_rwlock_unlock)
(__libc_key_create, __libc_getspecific, __libc_setspecific)
(__libc_atfork): Use it.