mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-20 11:52:27 +08:00
Update.
* libio/fileops.c: Use new macros from shlib-compat.h to define versions. * libio/iofclose.c: Likewise. * libio/oldiofclose.c: Likewise.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2000-03-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* pthread.c (pthread_initialize): Test for address of __dso_handle
|
||||
being NULL, not value. Use __on_exit, not on_exit.
|
||||
|
||||
2000-03-19 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* pthread.c (pthread_initialize): Instead of on_exit use
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
#include <sys/resource.h>
|
||||
#include <shlib-compat.h>
|
||||
#include "pthread.h"
|
||||
#include "internals.h"
|
||||
#include "spinlock.h"
|
||||
@@ -514,8 +515,9 @@ int __pthread_create_2_1(pthread_t *thread, const pthread_attr_t *attr,
|
||||
return THREAD_GETMEM(self, p_retcode);
|
||||
}
|
||||
|
||||
#if defined HAVE_ELF && defined PIC && defined DO_VERSIONING
|
||||
default_symbol_version (__pthread_create_2_1, pthread_create, GLIBC_2.1);
|
||||
versioned_symbol (libpthread, __pthread_create_2_1, pthread_create, GLIBC_2_1);
|
||||
|
||||
#if SHLIB_COMPAT (libpthread, GLIBC_2_0)
|
||||
|
||||
int __pthread_create_2_0(pthread_t *thread, const pthread_attr_t *attr,
|
||||
void * (*start_routine)(void *), void *arg)
|
||||
@@ -540,8 +542,6 @@ 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);
|
||||
#else
|
||||
strong_alias (__pthread_create_2_1, pthread_create)
|
||||
#endif
|
||||
|
||||
/* Simple operations on thread identifiers */
|
||||
|
||||
Reference in New Issue
Block a user