From 41aefe41b8e2d442a9eb0cf9e2352790350088d3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 4 Apr 2000 06:03:48 +0000 Subject: Update. 2000-04-01 Andreas Jaeger * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. * sysdeps/mach/mips/thread_state.h: Likewise. * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. * sysdeps/generic/fegetenv.c: Likewise. * sysdeps/generic/fesetenv.c: Likewise. * sysdeps/generic/feupdateenv.c: Likewise. * sysdeps/generic/fraiseexcpt.c: Likewise. * sysdeps/generic/fsetexcptflg.c: Likewise. * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. * sysdeps/unix/sysv/linux/errlist.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. 2000-04-02 H.J. Lu * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined. --- linuxthreads/attr.c | 3 ++- linuxthreads/oldsemaphore.c | 12 ++++++------ linuxthreads/pthread.c | 2 +- linuxthreads/weaks.c | 3 ++- 4 files changed, 11 insertions(+), 9 deletions(-) (limited to 'linuxthreads') diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c index 992234aadf..966cea1203 100644 --- a/linuxthreads/attr.c +++ b/linuxthreads/attr.c @@ -51,7 +51,8 @@ int __pthread_attr_init_2_0(pthread_attr_t *attr) attr->__scope = PTHREAD_SCOPE_SYSTEM; return 0; } -symbol_version (__pthread_attr_init_2_0, pthread_attr_init, GLIBC_2.0); +compat_symbol (libpthread, __pthread_attr_init_2_0, pthread_attr_init, + GLIBC_2_0); #endif int pthread_attr_destroy(pthread_attr_t *attr) diff --git a/linuxthreads/oldsemaphore.c b/linuxthreads/oldsemaphore.c index c6f44cfce2..52957d9a27 100644 --- a/linuxthreads/oldsemaphore.c +++ b/linuxthreads/oldsemaphore.c @@ -226,11 +226,11 @@ static void sem_restart_list(pthread_descr waiting) } } -symbol_version (__old_sem_init, sem_init, GLIBC_2.0); -symbol_version (__old_sem_wait, sem_wait, GLIBC_2.0); -symbol_version (__old_sem_trywait, sem_trywait, GLIBC_2.0); -symbol_version (__old_sem_post, sem_post, GLIBC_2.0); -symbol_version (__old_sem_getvalue, sem_getvalue, GLIBC_2.0); -symbol_version (__old_sem_destroy, sem_destroy, GLIBC_2.0); +compat_symbol (libpthread, __old_sem_init, sem_init, GLIBC_2_0); +compat_symbol (libpthread, __old_sem_wait, sem_wait, GLIBC_2_0); +compat_symbol (libpthread, __old_sem_trywait, sem_trywait, GLIBC_2_0); +compat_symbol (libpthread, __old_sem_post, sem_post, GLIBC_2_0); +compat_symbol (libpthread, __old_sem_getvalue, sem_getvalue, GLIBC_2_0); +compat_symbol (libpthread, __old_sem_destroy, sem_destroy, GLIBC_2_0); #endif diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index f8df39db02..c0658cd3c2 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -541,7 +541,7 @@ int __pthread_create_2_0(pthread_t *thread, const pthread_attr_t *attr, } return __pthread_create_2_1 (thread, attr, start_routine, arg); } -symbol_version (__pthread_create_2_0, pthread_create, GLIBC_2.0); +compat_symbol (libpthread, __pthread_create_2_0, pthread_create, GLIBC_2_0); #endif /* Simple operations on thread identifiers */ diff --git a/linuxthreads/weaks.c b/linuxthreads/weaks.c index a91f5cfb02..f6705f1108 100644 --- a/linuxthreads/weaks.c +++ b/linuxthreads/weaks.c @@ -32,7 +32,8 @@ versioned_symbol (libpthread, __libc_pthread_attr_init_2_1, pthread_attr_init, GLIBC_2_1); #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1) weak_alias (__pthread_return_0, __libc_pthread_attr_init_2_0) -symbol_version (__libc_pthread_attr_init_2_, pthread_attr_init, GLIBC_2.0); +compat_symbol (libpthread, __libc_pthread_attr_init_2_, pthread_attr_init, + GLIBC_2_0); #endif weak_alias (__pthread_return_0, pthread_attr_destroy) weak_alias (__pthread_return_0, pthread_attr_setdetachstate) -- cgit 1.4.1