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.
This commit is contained in:
Ulrich Drepper 2002-12-18 23:29:41 +00:00
parent 99326cd47f
commit 3d53957913
5 changed files with 14 additions and 7 deletions

View File

@ -30,4 +30,4 @@ __flockfile (stream)
_IO_lock_lock (*stream->_lock);
}
strong_alias (__flockfile, _IO_flockfile)
strong_alias (__flockfile, flockfile)
weak_alias (__flockfile, flockfile)

View File

@ -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

View File

@ -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;

View File

@ -30,4 +30,4 @@ __flockfile (stream)
_IO_lock_lock (*stream->_lock);
}
strong_alias (__flockfile, _IO_flockfile)
strong_alias (__flockfile, flockfile)
weak_alias (__flockfile, flockfile)

View File

@ -43,3 +43,4 @@ raise (sig)
return INLINE_SYSCALL (tkill, 2, selftid, sig);
}
libc_hidden_def (raise)
weak_alias (raise, gsignal)