nptl: Remove read from libpthread

The libc version is identical and built with same flags.

Checked on x86_64-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2021-03-12 16:22:44 -03:00
parent 173e0ab081
commit baab50cfb9
32 changed files with 2 additions and 63 deletions

View File

@ -102,7 +102,7 @@ CFLAGS-posix_fallocate.c += -fexceptions
CFLAGS-posix_fallocate64.c += -fexceptions
CFLAGS-fallocate.c += -fexceptions
CFLAGS-fallocate64.c += -fexceptions
CFLAGS-read.c += -fexceptions
CFLAGS-read.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-write.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-test-stat.c += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE

View File

@ -81,7 +81,7 @@ static-only-routines = pthread_atfork
# We need to provide certain routines for compatibility with existing
# binaries.
pthread-compat-wrappers = \
read close accept \
close accept \
connect recv recvfrom send \
sendto fsync lseek lseek64 \
msync open open64 pause \
@ -308,7 +308,6 @@ CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-read.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-msync.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables

View File

@ -123,7 +123,6 @@ libpthread {
__pthread_mutexattr_settype;
__pthread_once;
__pthread_setspecific;
__read;
__send;
__sigaction;
_exit;
@ -175,7 +174,6 @@ libpthread {
pthread_sigmask;
pthread_testcancel;
raise;
read;
recv;
recvfrom;
recvmsg;

View File

@ -39,7 +39,6 @@ GLIBC_2.17 __pthread_unregister_cancel F
GLIBC_2.17 __pthread_unregister_cancel_restore F
GLIBC_2.17 __pthread_unwind_next F
GLIBC_2.17 __pwrite64 F
GLIBC_2.17 __read F
GLIBC_2.17 __res_state F
GLIBC_2.17 __send F
GLIBC_2.17 __sigaction F
@ -163,7 +162,6 @@ GLIBC_2.17 pthread_yield F
GLIBC_2.17 pwrite F
GLIBC_2.17 pwrite64 F
GLIBC_2.17 raise F
GLIBC_2.17 read F
GLIBC_2.17 recv F
GLIBC_2.17 recvfrom F
GLIBC_2.17 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -38,7 +38,6 @@ GLIBC_2.32 __pthread_unregister_cancel F
GLIBC_2.32 __pthread_unregister_cancel_restore F
GLIBC_2.32 __pthread_unwind_next F
GLIBC_2.32 __pwrite64 F
GLIBC_2.32 __read F
GLIBC_2.32 __res_state F
GLIBC_2.32 __send F
GLIBC_2.32 __sigaction F
@ -180,7 +179,6 @@ GLIBC_2.32 pthread_yield F
GLIBC_2.32 pwrite F
GLIBC_2.32 pwrite64 F
GLIBC_2.32 raise F
GLIBC_2.32 read F
GLIBC_2.32 recv F
GLIBC_2.32 recvfrom F
GLIBC_2.32 recvmsg F

View File

@ -74,7 +74,6 @@ GLIBC_2.4 __pthread_unregister_cancel F
GLIBC_2.4 __pthread_unregister_cancel_restore F
GLIBC_2.4 __pthread_unwind_next F
GLIBC_2.4 __pwrite64 F
GLIBC_2.4 __read F
GLIBC_2.4 __res_state F
GLIBC_2.4 __send F
GLIBC_2.4 __sigaction F
@ -192,7 +191,6 @@ GLIBC_2.4 pthread_yield F
GLIBC_2.4 pwrite F
GLIBC_2.4 pwrite64 F
GLIBC_2.4 raise F
GLIBC_2.4 read F
GLIBC_2.4 recv F
GLIBC_2.4 recvfrom F
GLIBC_2.4 recvmsg F

View File

@ -74,7 +74,6 @@ GLIBC_2.4 __pthread_unregister_cancel F
GLIBC_2.4 __pthread_unregister_cancel_restore F
GLIBC_2.4 __pthread_unwind_next F
GLIBC_2.4 __pwrite64 F
GLIBC_2.4 __read F
GLIBC_2.4 __res_state F
GLIBC_2.4 __send F
GLIBC_2.4 __sigaction F
@ -192,7 +191,6 @@ GLIBC_2.4 pthread_yield F
GLIBC_2.4 pwrite F
GLIBC_2.4 pwrite64 F
GLIBC_2.4 raise F
GLIBC_2.4 read F
GLIBC_2.4 recv F
GLIBC_2.4 recvfrom F
GLIBC_2.4 recvmsg F

View File

@ -38,7 +38,6 @@ GLIBC_2.29 __pthread_unregister_cancel F
GLIBC_2.29 __pthread_unregister_cancel_restore F
GLIBC_2.29 __pthread_unwind_next F
GLIBC_2.29 __pwrite64 F
GLIBC_2.29 __read F
GLIBC_2.29 __res_state F
GLIBC_2.29 __send F
GLIBC_2.29 __sigaction F
@ -175,7 +174,6 @@ GLIBC_2.29 pthread_yield F
GLIBC_2.29 pwrite F
GLIBC_2.29 pwrite64 F
GLIBC_2.29 raise F
GLIBC_2.29 read F
GLIBC_2.29 recv F
GLIBC_2.29 recvfrom F
GLIBC_2.29 recvmsg F

View File

@ -41,7 +41,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F
GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __read F
GLIBC_2.2 __res_state F
GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
@ -143,7 +142,6 @@ GLIBC_2.2 pthread_yield F
GLIBC_2.2 pwrite F
GLIBC_2.2 pwrite64 F
GLIBC_2.2 raise F
GLIBC_2.2 read F
GLIBC_2.2 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -41,7 +41,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F
GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __read F
GLIBC_2.2 __res_state F
GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
@ -143,7 +142,6 @@ GLIBC_2.2 pthread_yield F
GLIBC_2.2 pwrite F
GLIBC_2.2 pwrite64 F
GLIBC_2.2 raise F
GLIBC_2.2 read F
GLIBC_2.2 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F

View File

@ -74,7 +74,6 @@ GLIBC_2.4 __pthread_unregister_cancel F
GLIBC_2.4 __pthread_unregister_cancel_restore F
GLIBC_2.4 __pthread_unwind_next F
GLIBC_2.4 __pwrite64 F
GLIBC_2.4 __read F
GLIBC_2.4 __res_state F
GLIBC_2.4 __send F
GLIBC_2.4 __sigaction F
@ -192,7 +191,6 @@ GLIBC_2.4 pthread_yield F
GLIBC_2.4 pwrite F
GLIBC_2.4 pwrite64 F
GLIBC_2.4 raise F
GLIBC_2.4 read F
GLIBC_2.4 recv F
GLIBC_2.4 recvfrom F
GLIBC_2.4 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -39,7 +39,6 @@ GLIBC_2.18 __pthread_unregister_cancel F
GLIBC_2.18 __pthread_unregister_cancel_restore F
GLIBC_2.18 __pthread_unwind_next F
GLIBC_2.18 __pwrite64 F
GLIBC_2.18 __read F
GLIBC_2.18 __res_state F
GLIBC_2.18 __send F
GLIBC_2.18 __sigaction F
@ -165,7 +164,6 @@ GLIBC_2.18 pthread_yield F
GLIBC_2.18 pwrite F
GLIBC_2.18 pwrite64 F
GLIBC_2.18 raise F
GLIBC_2.18 read F
GLIBC_2.18 recv F
GLIBC_2.18 recvfrom F
GLIBC_2.18 recvmsg F

View File

@ -39,7 +39,6 @@ GLIBC_2.18 __pthread_unregister_cancel F
GLIBC_2.18 __pthread_unregister_cancel_restore F
GLIBC_2.18 __pthread_unwind_next F
GLIBC_2.18 __pwrite64 F
GLIBC_2.18 __read F
GLIBC_2.18 __res_state F
GLIBC_2.18 __send F
GLIBC_2.18 __sigaction F
@ -165,7 +164,6 @@ GLIBC_2.18 pthread_yield F
GLIBC_2.18 pwrite F
GLIBC_2.18 pwrite64 F
GLIBC_2.18 raise F
GLIBC_2.18 read F
GLIBC_2.18 recv F
GLIBC_2.18 recvfrom F
GLIBC_2.18 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -39,7 +39,6 @@ GLIBC_2.21 __pthread_unregister_cancel F
GLIBC_2.21 __pthread_unregister_cancel_restore F
GLIBC_2.21 __pthread_unwind_next F
GLIBC_2.21 __pwrite64 F
GLIBC_2.21 __read F
GLIBC_2.21 __res_state F
GLIBC_2.21 __send F
GLIBC_2.21 __sigaction F
@ -165,7 +164,6 @@ GLIBC_2.21 pthread_yield F
GLIBC_2.21 pwrite F
GLIBC_2.21 pwrite64 F
GLIBC_2.21 raise F
GLIBC_2.21 read F
GLIBC_2.21 recv F
GLIBC_2.21 recvfrom F
GLIBC_2.21 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -62,7 +62,6 @@ GLIBC_2.3 __pthread_rwlock_unlock F
GLIBC_2.3 __pthread_rwlock_wrlock F
GLIBC_2.3 __pthread_setspecific F
GLIBC_2.3 __pwrite64 F
GLIBC_2.3 __read F
GLIBC_2.3 __res_state F
GLIBC_2.3 __send F
GLIBC_2.3 __sigaction F
@ -163,7 +162,6 @@ GLIBC_2.3 pthread_yield F
GLIBC_2.3 pwrite F
GLIBC_2.3 pwrite64 F
GLIBC_2.3 raise F
GLIBC_2.3 read F
GLIBC_2.3 recv F
GLIBC_2.3 recvfrom F
GLIBC_2.3 recvmsg F

View File

@ -39,7 +39,6 @@ GLIBC_2.17 __pthread_unregister_cancel F
GLIBC_2.17 __pthread_unregister_cancel_restore F
GLIBC_2.17 __pthread_unwind_next F
GLIBC_2.17 __pwrite64 F
GLIBC_2.17 __read F
GLIBC_2.17 __res_state F
GLIBC_2.17 __send F
GLIBC_2.17 __sigaction F
@ -163,7 +162,6 @@ GLIBC_2.17 pthread_yield F
GLIBC_2.17 pwrite F
GLIBC_2.17 pwrite64 F
GLIBC_2.17 raise F
GLIBC_2.17 read F
GLIBC_2.17 recv F
GLIBC_2.17 recvfrom F
GLIBC_2.17 recvmsg F

View File

@ -38,7 +38,6 @@ GLIBC_2.33 __pthread_unregister_cancel F
GLIBC_2.33 __pthread_unregister_cancel_restore F
GLIBC_2.33 __pthread_unwind_next F
GLIBC_2.33 __pwrite64 F
GLIBC_2.33 __read F
GLIBC_2.33 __res_state F
GLIBC_2.33 __send F
GLIBC_2.33 __sigaction F
@ -180,7 +179,6 @@ GLIBC_2.33 pthread_yield F
GLIBC_2.33 pwrite F
GLIBC_2.33 pwrite64 F
GLIBC_2.33 raise F
GLIBC_2.33 read F
GLIBC_2.33 recv F
GLIBC_2.33 recvfrom F
GLIBC_2.33 recvmsg F

View File

@ -39,7 +39,6 @@ GLIBC_2.27 __pthread_unregister_cancel F
GLIBC_2.27 __pthread_unregister_cancel_restore F
GLIBC_2.27 __pthread_unwind_next F
GLIBC_2.27 __pwrite64 F
GLIBC_2.27 __read F
GLIBC_2.27 __res_state F
GLIBC_2.27 __send F
GLIBC_2.27 __sigaction F
@ -164,7 +163,6 @@ GLIBC_2.27 pthread_yield F
GLIBC_2.27 pwrite F
GLIBC_2.27 pwrite64 F
GLIBC_2.27 raise F
GLIBC_2.27 read F
GLIBC_2.27 recv F
GLIBC_2.27 recvfrom F
GLIBC_2.27 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -43,7 +43,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F
GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __read F
GLIBC_2.2 __res_state F
GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
@ -145,7 +144,6 @@ GLIBC_2.2 pthread_yield F
GLIBC_2.2 pwrite F
GLIBC_2.2 pwrite64 F
GLIBC_2.2 raise F
GLIBC_2.2 read F
GLIBC_2.2 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F

View File

@ -41,7 +41,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F
GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __read F
GLIBC_2.2 __res_state F
GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
@ -143,7 +142,6 @@ GLIBC_2.2 pthread_yield F
GLIBC_2.2 pwrite F
GLIBC_2.2 pwrite64 F
GLIBC_2.2 raise F
GLIBC_2.2 read F
GLIBC_2.2 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F

View File

@ -41,7 +41,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F
GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __read F
GLIBC_2.2 __res_state F
GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
@ -143,7 +142,6 @@ GLIBC_2.2 pthread_yield F
GLIBC_2.2 pwrite F
GLIBC_2.2 pwrite64 F
GLIBC_2.2 raise F
GLIBC_2.2 read F
GLIBC_2.2 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F

View File

@ -20,7 +20,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
GLIBC_2.0 __read F
GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
@ -70,7 +69,6 @@ GLIBC_2.0 pthread_setcanceltype F
GLIBC_2.0 pthread_setspecific F
GLIBC_2.0 pthread_testcancel F
GLIBC_2.0 raise F
GLIBC_2.0 read F
GLIBC_2.0 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F

View File

@ -41,7 +41,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F
GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __read F
GLIBC_2.2 __res_state F
GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
@ -143,7 +142,6 @@ GLIBC_2.2 pthread_yield F
GLIBC_2.2 pwrite F
GLIBC_2.2 pwrite64 F
GLIBC_2.2 raise F
GLIBC_2.2 read F
GLIBC_2.2 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F

View File

@ -41,7 +41,6 @@ GLIBC_2.2.5 __pthread_rwlock_unlock F
GLIBC_2.2.5 __pthread_rwlock_wrlock F
GLIBC_2.2.5 __pthread_setspecific F
GLIBC_2.2.5 __pwrite64 F
GLIBC_2.2.5 __read F
GLIBC_2.2.5 __res_state F
GLIBC_2.2.5 __send F
GLIBC_2.2.5 __sigaction F
@ -143,7 +142,6 @@ GLIBC_2.2.5 pthread_yield F
GLIBC_2.2.5 pwrite F
GLIBC_2.2.5 pwrite64 F
GLIBC_2.2.5 raise F
GLIBC_2.2.5 read F
GLIBC_2.2.5 recv F
GLIBC_2.2.5 recvfrom F
GLIBC_2.2.5 recvmsg F

View File

@ -39,7 +39,6 @@ GLIBC_2.16 __pthread_unregister_cancel F
GLIBC_2.16 __pthread_unregister_cancel_restore F
GLIBC_2.16 __pthread_unwind_next F
GLIBC_2.16 __pwrite64 F
GLIBC_2.16 __read F
GLIBC_2.16 __res_state F
GLIBC_2.16 __send F
GLIBC_2.16 __sigaction F
@ -163,7 +162,6 @@ GLIBC_2.16 pthread_yield F
GLIBC_2.16 pwrite F
GLIBC_2.16 pwrite64 F
GLIBC_2.16 raise F
GLIBC_2.16 read F
GLIBC_2.16 recv F
GLIBC_2.16 recvfrom F
GLIBC_2.16 recvmsg F