diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-12 16:42:05 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-18 15:54:39 -0300 |
commit | 643a88a9c1ab023e6b582227b041aaadfabd36aa (patch) | |
tree | 8e2658da527e32a4850e79decc75d839ea93e7ac | |
parent | 494c3beec9d7ab151879a90586af648372e81be3 (diff) | |
download | glibc-643a88a9c1ab023e6b582227b041aaadfabd36aa.tar.gz glibc-643a88a9c1ab023e6b582227b041aaadfabd36aa.tar.xz glibc-643a88a9c1ab023e6b582227b041aaadfabd36aa.zip |
nptl: Remove recvfrom from libpthread
The libc version is identical and built with same flags. Checked on x86_64-linux-gnu.
32 files changed, 2 insertions, 32 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index be0aae4a79..c8b3e41851 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -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 diff --git a/nptl/Versions b/nptl/Versions index ebc7a772eb..bfc553db4b 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -169,7 +169,6 @@ libpthread { pthread_sigmask; pthread_testcancel; raise; - recvfrom; recvmsg; sem_destroy; sem_getvalue; diff --git a/socket/Makefile b/socket/Makefile index f5233e210e..228b141c3b 100644 --- a/socket/Makefile +++ b/socket/Makefile @@ -38,3 +38,4 @@ aux := sa_len include ../Rules CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables +CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index 64a18aeab2..2a0129ec9d 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index 353f98df18..bb22a8fbc5 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index f93ba9540d..910045e24c 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index 95fdc9e434..8d4a3fc062 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index 95fdc9e434..8d4a3fc062 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index 92e498ddea..32a5763b89 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index 1d24ec1561..f60266d245 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index 220cda9345..103388c4f5 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index eee4fab293..a7d6b3deea 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index 95fdc9e434..8d4a3fc062 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index 220cda9345..103388c4f5 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 406b0a1be6..4e950d5259 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 406b0a1be6..4e950d5259 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index 28aa7b5deb..aaf79e4825 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index 28aa7b5deb..aaf79e4825 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 0162929f74..f38f6c1250 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 7802b0923f..90ba7f8344 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index b079d6598c..d1c40ad014 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 64a18aeab2..2a0129ec9d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index ecdba25de2..faedd4be62 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 942d509b5a..6af93a54c7 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index c8df3e9c13..f7372e26d7 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index 72e117cddc..2a06f25614 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index 1d24ec1561..f60266d245 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index 1d24ec1561..f60266d245 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index 353f98df18..bb22a8fbc5 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index eee4fab293..a7d6b3deea 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index f53c06ddd9..eb769489f6 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -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 diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 3785cb085f..2d669e82d9 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -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 |