mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
nptl: Move pthread_equal implementation into libc
This commit is contained in:
parent
c54d864903
commit
dda373b00e
58
ChangeLog
58
ChangeLog
@ -1,3 +1,61 @@
|
||||
2019-08-15 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
nptl: Move pthread_equal implementation into libc.
|
||||
* nptl/Makefile (routines): Add pthread_equal.
|
||||
* nptl/forward.c (pthread_equal): Remove definition.
|
||||
* nptl/nptl-init.c (pthread_functions): Remove initializer for
|
||||
ptr_pthread_equal.
|
||||
* sysdeps/nptl/pthread-functions.h (struct pthread_functions):
|
||||
Remove ptr_pthread_equal member.
|
||||
* sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
|
||||
Remove pthread_equal.
|
||||
* sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
|
||||
(GLIBC_2.4): Likewise.
|
||||
* sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
|
||||
(GLIBC_2.0): Likewise.
|
||||
* sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
|
||||
(GLIBC_2.18): Likewise.
|
||||
* sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
|
||||
(GLIBC_2.0): Likewise.
|
||||
* sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
|
||||
(GLIBC_2.0): Likewise.
|
||||
* sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
|
||||
(GLIBC_2.0): Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
|
||||
(GLIBC_2.3): Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
|
||||
(GLIBC_2.17): Likewise.
|
||||
* sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
|
||||
(GLIBC_2.27): Likewise.
|
||||
* sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
|
||||
(GLIBC_2.0): Likewise.
|
||||
* sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
|
||||
(GLIBC_2.2): Likewise.
|
||||
* sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
|
||||
(GLIBC_2.0): Likewise.
|
||||
* sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
|
||||
(GLIBC_2.2): Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
|
||||
(GLIBC_2.2.5): Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
|
||||
(GLIBC_2.16): Likewise.
|
||||
|
||||
2019-08-14 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* support/support_descriptors.c: Include <support/descriptors.h>.
|
||||
|
@ -30,7 +30,7 @@ extra-libs-others := $(extra-libs)
|
||||
routines = alloca_cutoff forward libc-lowlevellock libc-cancellation \
|
||||
libc-cleanup libc_pthread_init libc_multiple_threads \
|
||||
register-atfork pthread_atfork pthread_self thrd_current \
|
||||
thrd_equal thrd_sleep thrd_yield
|
||||
thrd_equal thrd_sleep thrd_yield pthread_equal
|
||||
shared-only-routines = forward
|
||||
static-only-routines = pthread_atfork
|
||||
|
||||
@ -50,7 +50,7 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \
|
||||
pthread_create pthread_exit pthread_detach \
|
||||
pthread_join pthread_tryjoin pthread_timedjoin \
|
||||
pthread_join_common \
|
||||
compat-pthread_self pthread_equal pthread_yield \
|
||||
compat-pthread_self pthread_yield \
|
||||
pthread_getconcurrency pthread_setconcurrency \
|
||||
pthread_getschedparam pthread_setschedparam \
|
||||
pthread_setschedprio \
|
||||
|
@ -166,10 +166,6 @@ versioned_symbol (libc, __pthread_cond_timedwait, pthread_cond_timedwait,
|
||||
GLIBC_2_3_2);
|
||||
|
||||
|
||||
FORWARD (pthread_equal, (pthread_t thread1, pthread_t thread2),
|
||||
(thread1, thread2), 1)
|
||||
|
||||
|
||||
FORWARD_NORETURN (__pthread_exit, void, (void *retval), (retval),
|
||||
exit (EXIT_SUCCESS))
|
||||
strong_alias (__pthread_exit, pthread_exit);
|
||||
|
@ -103,7 +103,6 @@ static const struct pthread_functions pthread_functions =
|
||||
.ptr___pthread_cond_wait_2_0 = __pthread_cond_wait_2_0,
|
||||
.ptr___pthread_cond_timedwait_2_0 = __pthread_cond_timedwait_2_0,
|
||||
# endif
|
||||
.ptr_pthread_equal = __pthread_equal,
|
||||
.ptr___pthread_exit = __pthread_exit,
|
||||
.ptr_pthread_getschedparam = __pthread_getschedparam,
|
||||
.ptr_pthread_setschedparam = __pthread_setschedparam,
|
||||
|
@ -64,7 +64,6 @@ struct pthread_functions
|
||||
int (*ptr___pthread_cond_timedwait_2_0) (pthread_cond_2_0_t *,
|
||||
pthread_mutex_t *,
|
||||
const struct timespec *);
|
||||
int (*ptr_pthread_equal) (pthread_t, pthread_t);
|
||||
void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__));
|
||||
int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
|
||||
int (*ptr_pthread_setschedparam) (pthread_t, int,
|
||||
|
@ -114,7 +114,6 @@ GLIBC_2.17 pthread_condattr_setclock F
|
||||
GLIBC_2.17 pthread_condattr_setpshared F
|
||||
GLIBC_2.17 pthread_create F
|
||||
GLIBC_2.17 pthread_detach F
|
||||
GLIBC_2.17 pthread_equal F
|
||||
GLIBC_2.17 pthread_exit F
|
||||
GLIBC_2.17 pthread_getaffinity_np F
|
||||
GLIBC_2.17 pthread_getattr_np F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -148,7 +148,6 @@ GLIBC_2.4 pthread_condattr_setclock F
|
||||
GLIBC_2.4 pthread_condattr_setpshared F
|
||||
GLIBC_2.4 pthread_create F
|
||||
GLIBC_2.4 pthread_detach F
|
||||
GLIBC_2.4 pthread_equal F
|
||||
GLIBC_2.4 pthread_exit F
|
||||
GLIBC_2.4 pthread_getaffinity_np F
|
||||
GLIBC_2.4 pthread_getattr_np F
|
||||
|
@ -122,7 +122,6 @@ GLIBC_2.29 pthread_condattr_setclock F
|
||||
GLIBC_2.29 pthread_condattr_setpshared F
|
||||
GLIBC_2.29 pthread_create F
|
||||
GLIBC_2.29 pthread_detach F
|
||||
GLIBC_2.29 pthread_equal F
|
||||
GLIBC_2.29 pthread_exit F
|
||||
GLIBC_2.29 pthread_getaffinity_np F
|
||||
GLIBC_2.29 pthread_getattr_default_np F
|
||||
|
@ -111,7 +111,6 @@ GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
GLIBC_2.2 pthread_equal F
|
||||
GLIBC_2.2 pthread_exit F
|
||||
GLIBC_2.2 pthread_getconcurrency F
|
||||
GLIBC_2.2 pthread_getcpuclockid F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -111,7 +111,6 @@ GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
GLIBC_2.2 pthread_equal F
|
||||
GLIBC_2.2 pthread_exit F
|
||||
GLIBC_2.2 pthread_getconcurrency F
|
||||
GLIBC_2.2 pthread_getcpuclockid F
|
||||
|
@ -148,7 +148,6 @@ GLIBC_2.4 pthread_condattr_setclock F
|
||||
GLIBC_2.4 pthread_condattr_setpshared F
|
||||
GLIBC_2.4 pthread_create F
|
||||
GLIBC_2.4 pthread_detach F
|
||||
GLIBC_2.4 pthread_equal F
|
||||
GLIBC_2.4 pthread_exit F
|
||||
GLIBC_2.4 pthread_getaffinity_np F
|
||||
GLIBC_2.4 pthread_getattr_np F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -114,7 +114,6 @@ GLIBC_2.18 pthread_condattr_setclock F
|
||||
GLIBC_2.18 pthread_condattr_setpshared F
|
||||
GLIBC_2.18 pthread_create F
|
||||
GLIBC_2.18 pthread_detach F
|
||||
GLIBC_2.18 pthread_equal F
|
||||
GLIBC_2.18 pthread_exit F
|
||||
GLIBC_2.18 pthread_getaffinity_np F
|
||||
GLIBC_2.18 pthread_getattr_default_np F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -114,7 +114,6 @@ GLIBC_2.21 pthread_condattr_setclock F
|
||||
GLIBC_2.21 pthread_condattr_setpshared F
|
||||
GLIBC_2.21 pthread_create F
|
||||
GLIBC_2.21 pthread_detach F
|
||||
GLIBC_2.21 pthread_equal F
|
||||
GLIBC_2.21 pthread_exit F
|
||||
GLIBC_2.21 pthread_getaffinity_np F
|
||||
GLIBC_2.21 pthread_getattr_default_np F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -132,7 +132,6 @@ GLIBC_2.3 pthread_condattr_init F
|
||||
GLIBC_2.3 pthread_condattr_setpshared F
|
||||
GLIBC_2.3 pthread_create F
|
||||
GLIBC_2.3 pthread_detach F
|
||||
GLIBC_2.3 pthread_equal F
|
||||
GLIBC_2.3 pthread_exit F
|
||||
GLIBC_2.3 pthread_getattr_np F
|
||||
GLIBC_2.3 pthread_getconcurrency F
|
||||
|
@ -114,7 +114,6 @@ GLIBC_2.17 pthread_condattr_setclock F
|
||||
GLIBC_2.17 pthread_condattr_setpshared F
|
||||
GLIBC_2.17 pthread_create F
|
||||
GLIBC_2.17 pthread_detach F
|
||||
GLIBC_2.17 pthread_equal F
|
||||
GLIBC_2.17 pthread_exit F
|
||||
GLIBC_2.17 pthread_getaffinity_np F
|
||||
GLIBC_2.17 pthread_getattr_np F
|
||||
|
@ -111,7 +111,6 @@ GLIBC_2.27 pthread_condattr_setclock F
|
||||
GLIBC_2.27 pthread_condattr_setpshared F
|
||||
GLIBC_2.27 pthread_create F
|
||||
GLIBC_2.27 pthread_detach F
|
||||
GLIBC_2.27 pthread_equal F
|
||||
GLIBC_2.27 pthread_exit F
|
||||
GLIBC_2.27 pthread_getaffinity_np F
|
||||
GLIBC_2.27 pthread_getattr_default_np F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -113,7 +113,6 @@ GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
GLIBC_2.2 pthread_equal F
|
||||
GLIBC_2.2 pthread_exit F
|
||||
GLIBC_2.2 pthread_getconcurrency F
|
||||
GLIBC_2.2 pthread_getcpuclockid F
|
||||
|
@ -111,7 +111,6 @@ GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
GLIBC_2.2 pthread_equal F
|
||||
GLIBC_2.2 pthread_exit F
|
||||
GLIBC_2.2 pthread_getconcurrency F
|
||||
GLIBC_2.2 pthread_getcpuclockid F
|
||||
|
@ -69,7 +69,6 @@ GLIBC_2.0 pthread_condattr_destroy F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_equal F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
GLIBC_2.0 pthread_getschedparam F
|
||||
GLIBC_2.0 pthread_getspecific F
|
||||
|
@ -111,7 +111,6 @@ GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
GLIBC_2.2 pthread_equal F
|
||||
GLIBC_2.2 pthread_exit F
|
||||
GLIBC_2.2 pthread_getconcurrency F
|
||||
GLIBC_2.2 pthread_getcpuclockid F
|
||||
|
@ -111,7 +111,6 @@ GLIBC_2.2.5 pthread_condattr_init F
|
||||
GLIBC_2.2.5 pthread_condattr_setpshared F
|
||||
GLIBC_2.2.5 pthread_create F
|
||||
GLIBC_2.2.5 pthread_detach F
|
||||
GLIBC_2.2.5 pthread_equal F
|
||||
GLIBC_2.2.5 pthread_exit F
|
||||
GLIBC_2.2.5 pthread_getattr_np F
|
||||
GLIBC_2.2.5 pthread_getconcurrency F
|
||||
|
@ -114,7 +114,6 @@ GLIBC_2.16 pthread_condattr_setclock F
|
||||
GLIBC_2.16 pthread_condattr_setpshared F
|
||||
GLIBC_2.16 pthread_create F
|
||||
GLIBC_2.16 pthread_detach F
|
||||
GLIBC_2.16 pthread_equal F
|
||||
GLIBC_2.16 pthread_exit F
|
||||
GLIBC_2.16 pthread_getaffinity_np F
|
||||
GLIBC_2.16 pthread_getattr_np F
|
||||
|
Loading…
Reference in New Issue
Block a user