nptl: Remove recv 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:33:38 -03:00
parent 3ddf9bc185
commit 494c3beec9
32 changed files with 3 additions and 32 deletions

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 = \
recv recvfrom send \
recvfrom send \
sendto fsync lseek lseek64 \
msync open open64 pause \
pread pread64 pwrite pwrite64 \
@ -298,7 +298,6 @@ CFLAGS-tcdrain.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-open.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-open64.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pause.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-send.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sendto.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables

View File

@ -169,7 +169,6 @@ libpthread {
pthread_sigmask;
pthread_testcancel;
raise;
recv;
recvfrom;
recvmsg;
sem_destroy;

View File

@ -36,3 +36,5 @@ tests := tst-accept4
aux := sa_len
include ../Rules
CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables

View File

@ -157,7 +157,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 recv F
GLIBC_2.17 recvfrom F
GLIBC_2.17 recvmsg F
GLIBC_2.17 sem_close F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -174,7 +174,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 recv F
GLIBC_2.32 recvfrom F
GLIBC_2.32 recvmsg F
GLIBC_2.32 sem_clockwait F

View File

@ -186,7 +186,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 recv F
GLIBC_2.4 recvfrom F
GLIBC_2.4 recvmsg F
GLIBC_2.4 sem_close F

View File

@ -186,7 +186,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 recv F
GLIBC_2.4 recvfrom F
GLIBC_2.4 recvmsg F
GLIBC_2.4 sem_close F

View File

@ -169,7 +169,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 recv F
GLIBC_2.29 recvfrom F
GLIBC_2.29 recvmsg F
GLIBC_2.29 sem_close F

View File

@ -137,7 +137,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 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -137,7 +137,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 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F

View File

@ -186,7 +186,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 recv F
GLIBC_2.4 recvfrom F
GLIBC_2.4 recvmsg F
GLIBC_2.4 sem_close F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -159,7 +159,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 recv F
GLIBC_2.18 recvfrom F
GLIBC_2.18 recvmsg F
GLIBC_2.18 sem_close F

View File

@ -159,7 +159,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 recv F
GLIBC_2.18 recvfrom F
GLIBC_2.18 recvmsg F
GLIBC_2.18 sem_close F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -159,7 +159,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 recv F
GLIBC_2.21 recvfrom F
GLIBC_2.21 recvmsg F
GLIBC_2.21 sem_close F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -157,7 +157,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 recv F
GLIBC_2.3 recvfrom F
GLIBC_2.3 recvmsg F
GLIBC_2.3 sem_close F

View File

@ -157,7 +157,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 recv F
GLIBC_2.17 recvfrom F
GLIBC_2.17 recvmsg F
GLIBC_2.17 sem_close F

View File

@ -174,7 +174,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 recv F
GLIBC_2.33 recvfrom F
GLIBC_2.33 recvmsg F
GLIBC_2.33 sem_clockwait F

View File

@ -158,7 +158,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 recv F
GLIBC_2.27 recvfrom F
GLIBC_2.27 recvmsg F
GLIBC_2.27 sem_close F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -139,7 +139,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 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F

View File

@ -137,7 +137,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 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F

View File

@ -137,7 +137,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 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F

View File

@ -64,7 +64,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 recv F
GLIBC_2.0 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F

View File

@ -137,7 +137,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 recv F
GLIBC_2.2 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F

View File

@ -137,7 +137,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 recv F
GLIBC_2.2.5 recvfrom F
GLIBC_2.2.5 recvmsg F
GLIBC_2.2.5 sem_close F

View File

@ -157,7 +157,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 recv F
GLIBC_2.16 recvfrom F
GLIBC_2.16 recvmsg F
GLIBC_2.16 sem_close F