nptl: Remove recvfrom 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:42:05 -03:00
parent 494c3beec9
commit 643a88a9c1
32 changed files with 2 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 = \
recvfrom send \
send \
sendto fsync lseek lseek64 \
msync open open64 pause \
pread pread64 pwrite pwrite64 \
@ -300,7 +300,6 @@ CFLAGS-open64.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pause.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
CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables

View File

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

View File

@ -38,3 +38,4 @@ aux := sa_len
include ../Rules
CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvfrom.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 recvfrom F
GLIBC_2.17 recvmsg F
GLIBC_2.17 sem_close F
GLIBC_2.17 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.32 recvmsg F
GLIBC_2.32 sem_clockwait F
GLIBC_2.32 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 recvfrom F
GLIBC_2.4 recvmsg F
GLIBC_2.4 sem_close F
GLIBC_2.4 sem_destroy 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 recvfrom F
GLIBC_2.4 recvmsg F
GLIBC_2.4 sem_close F
GLIBC_2.4 sem_destroy 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 recvfrom F
GLIBC_2.29 recvmsg F
GLIBC_2.29 sem_close F
GLIBC_2.29 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 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F
GLIBC_2.2 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F
GLIBC_2.2 sem_destroy 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 recvfrom F
GLIBC_2.4 recvmsg F
GLIBC_2.4 sem_close F
GLIBC_2.4 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.18 recvmsg F
GLIBC_2.18 sem_close F
GLIBC_2.18 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 recvfrom F
GLIBC_2.18 recvmsg F
GLIBC_2.18 sem_close F
GLIBC_2.18 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.21 recvmsg F
GLIBC_2.21 sem_close F
GLIBC_2.21 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.3 recvmsg F
GLIBC_2.3 sem_close F
GLIBC_2.3 sem_destroy 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 recvfrom F
GLIBC_2.17 recvmsg F
GLIBC_2.17 sem_close F
GLIBC_2.17 sem_destroy 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 recvfrom F
GLIBC_2.33 recvmsg F
GLIBC_2.33 sem_clockwait F
GLIBC_2.33 sem_close 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 recvfrom F
GLIBC_2.27 recvmsg F
GLIBC_2.27 sem_close F
GLIBC_2.27 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F
GLIBC_2.2 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 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F
GLIBC_2.2 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 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F
GLIBC_2.2 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 recvfrom F
GLIBC_2.0 recvmsg F
GLIBC_2.0 sem_destroy F
GLIBC_2.0 sem_getvalue 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 recvfrom F
GLIBC_2.2 recvmsg F
GLIBC_2.2 sem_close F
GLIBC_2.2 sem_destroy 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 recvfrom F
GLIBC_2.2.5 recvmsg F
GLIBC_2.2.5 sem_close F
GLIBC_2.2.5 sem_destroy 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 recvfrom F
GLIBC_2.16 recvmsg F
GLIBC_2.16 sem_close F
GLIBC_2.16 sem_destroy F