aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-18 23:29:41 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-18 23:29:41 +0000
commit3d53957913ab331dbdecaa2587d9aafd07d88eac (patch)
tree89fc508bd8c0dfcb87a221a15ec837685322dac6 /nptl
parent99326cd47fc57a33dfdf6b8b12357a9d9c192549 (diff)
downloadglibc-3d53957913ab331dbdecaa2587d9aafd07d88eac.tar
glibc-3d53957913ab331dbdecaa2587d9aafd07d88eac.tar.gz
glibc-3d53957913ab331dbdecaa2587d9aafd07d88eac.tar.bz2
glibc-3d53957913ab331dbdecaa2587d9aafd07d88eac.zip
Update
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.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog10
-rw-r--r--nptl/Versions6
-rw-r--r--nptl/sysdeps/pthread/flockfile.c2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/raise.c1
4 files changed, 13 insertions, 6 deletions
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)