aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-04 06:03:48 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-04 06:03:48 +0000
commit41aefe41b8e2d442a9eb0cf9e2352790350088d3 (patch)
tree2cbff21516ac308dd52792e06bf5680792149b5e /linuxthreads
parent839be78401e0e0b31bfec02a7cc6a9ec2f03ebd1 (diff)
downloadglibc-41aefe41b8e2d442a9eb0cf9e2352790350088d3.tar
glibc-41aefe41b8e2d442a9eb0cf9e2352790350088d3.tar.gz
glibc-41aefe41b8e2d442a9eb0cf9e2352790350088d3.tar.bz2
glibc-41aefe41b8e2d442a9eb0cf9e2352790350088d3.zip
Update.
2000-04-01 Andreas Jaeger <aj@suse.de> * 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 <hjl@gnu.org> * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/attr.c3
-rw-r--r--linuxthreads/oldsemaphore.c12
-rw-r--r--linuxthreads/pthread.c2
-rw-r--r--linuxthreads/weaks.c3
4 files changed, 11 insertions, 9 deletions
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)