diff options
-rw-r--r-- | linuxthreads/sysdeps/pthread/flockfile.c | 2 | ||||
-rw-r--r-- | nptl/ChangeLog | 10 | ||||
-rw-r--r-- | nptl/Versions | 6 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/flockfile.c | 2 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/raise.c | 1 |
5 files changed, 14 insertions, 7 deletions
diff --git a/linuxthreads/sysdeps/pthread/flockfile.c b/linuxthreads/sysdeps/pthread/flockfile.c index a90215cc1f..918cb84f61 100644 --- a/linuxthreads/sysdeps/pthread/flockfile.c +++ b/linuxthreads/sysdeps/pthread/flockfile.c @@ -30,4 +30,4 @@ __flockfile (stream) _IO_lock_lock (*stream->_lock); } strong_alias (__flockfile, _IO_flockfile) -strong_alias (__flockfile, flockfile) +weak_alias (__flockfile, flockfile) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 33567460ec..c746ce985a 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,13 @@ +2002-12-18 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/pthread/flockfile.c (flockfile): Change into weak alias. + * sysdeps/unix/sysv/linux/raise.c (gsignal): Add weak alias to raise. + * Versions [libc: GLIBC_2.0]: Add pthread_attr_init. + [libpthread: GLIBC_2.1]: Remove __pthread_rwlock_init, + __pthread_rwlock_destroy, __pthread_rwlock_rdlock, + __pthread_rwlock_wrlock, __pthread_rwlock_unlock, + __pthread_rwlock_tryrdlock and __pthread_rwlock_trywrlock. + 2002-12-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Use ENTER_KERNEL diff --git a/nptl/Versions b/nptl/Versions index 488ea2ebe7..b9de74afd9 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -1,6 +1,6 @@ libc { GLIBC_2.0 { - pthread_attr_destroy; + pthread_attr_destroy; pthread_attr_init; pthread_attr_getdetachstate; pthread_attr_setdetachstate; pthread_attr_getinheritsched; pthread_attr_setinheritsched; pthread_attr_getschedparam; pthread_attr_setschedparam; @@ -116,10 +116,6 @@ libpthread { pthread_rwlock_rdlock; pthread_rwlock_wrlock; pthread_rwlock_unlock; pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock; - __pthread_rwlock_init; __pthread_rwlock_destroy; - __pthread_rwlock_rdlock; __pthread_rwlock_wrlock; __pthread_rwlock_unlock; - __pthread_rwlock_tryrdlock; __pthread_rwlock_trywrlock; - pthread_rwlockattr_init; pthread_rwlockattr_destroy; pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared; pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np; diff --git a/nptl/sysdeps/pthread/flockfile.c b/nptl/sysdeps/pthread/flockfile.c index a90215cc1f..918cb84f61 100644 --- a/nptl/sysdeps/pthread/flockfile.c +++ b/nptl/sysdeps/pthread/flockfile.c @@ -30,4 +30,4 @@ __flockfile (stream) _IO_lock_lock (*stream->_lock); } strong_alias (__flockfile, _IO_flockfile) -strong_alias (__flockfile, flockfile) +weak_alias (__flockfile, flockfile) diff --git a/nptl/sysdeps/unix/sysv/linux/raise.c b/nptl/sysdeps/unix/sysv/linux/raise.c index deb0fb3c17..e152ba9055 100644 --- a/nptl/sysdeps/unix/sysv/linux/raise.c +++ b/nptl/sysdeps/unix/sysv/linux/raise.c @@ -43,3 +43,4 @@ raise (sig) return INLINE_SYSCALL (tkill, 2, selftid, sig); } libc_hidden_def (raise) +weak_alias (raise, gsignal) |