diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-05 20:04:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-05 20:04:54 +0000 |
commit | 440d8bc2cd82f957a29cd29c3e29e70b6f232745 (patch) | |
tree | 9851155be4eb35934b77bfb4e991d2aae29a9cab /nptl/sysdeps/unix/sysv | |
parent | 240a3c78eadaeb42be0387b555cc6945d0fb1fd7 (diff) | |
download | glibc-440d8bc2cd82f957a29cd29c3e29e70b6f232745.tar.gz glibc-440d8bc2cd82f957a29cd29c3e29e70b6f232745.tar.xz glibc-440d8bc2cd82f957a29cd29c3e29e70b6f232745.zip |
Update.
2002-12-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove lowlevellock. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: New file. * sysdeps/pthread/bits/libc-lock.h: Use lowlevellock implementation for __libc_lock_* macros. * Makefile (routines): Add libc-lowlevellock. 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): Use it.
Diffstat (limited to 'nptl/sysdeps/unix/sysv')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/Makefile | 2 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S | 1 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/Makefile b/nptl/sysdeps/unix/sysv/linux/Makefile index efe4ba4e9d..832ce2326b 100644 --- a/nptl/sysdeps/unix/sysv/linux/Makefile +++ b/nptl/sysdeps/unix/sysv/linux/Makefile @@ -18,7 +18,7 @@ # 02111-1307 USA. */ ifeq ($(subdir),nptl) -sysdep_routines += register-atfork unregister-atfork fork-gen lowlevellock +sysdep_routines += register-atfork unregister-atfork fork-gen libpthread-sysdep_routines += pt-fork endif diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S new file mode 100644 index 0000000000..3ce1d6fe72 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S @@ -0,0 +1 @@ +#include "lowlevellock.S" diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S new file mode 100644 index 0000000000..3ce1d6fe72 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S @@ -0,0 +1 @@ +#include "lowlevellock.S" |