diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-12 16:33:38 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-18 15:54:39 -0300 |
commit | 494c3beec9d7ab151879a90586af648372e81be3 (patch) | |
tree | b5f7c42f8c6f05b16c58dc9505c64774cbd1d163 | |
parent | 3ddf9bc18587bf4d66b99666150bfc8d0f81fa32 (diff) | |
download | glibc-494c3beec9d7ab151879a90586af648372e81be3.zip glibc-494c3beec9d7ab151879a90586af648372e81be3.tar.gz glibc-494c3beec9d7ab151879a90586af648372e81be3.tar.bz2 |
nptl: Remove recv from libpthread
The libc version is identical and built with same flags.
Checked on x86_64-linux-gnu.
32 files changed, 3 insertions, 32 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index f4413d3..be0aae4 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 = \ - 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 diff --git a/nptl/Versions b/nptl/Versions index 893b46a..ebc7a77 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -169,7 +169,6 @@ libpthread { pthread_sigmask; pthread_testcancel; raise; - recv; recvfrom; recvmsg; sem_destroy; diff --git a/socket/Makefile b/socket/Makefile index 600891d..f5233e2 100644 --- a/socket/Makefile +++ b/socket/Makefile @@ -36,3 +36,5 @@ tests := tst-accept4 aux := sa_len include ../Rules + +CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index f12e66e..64a18ae 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 recv F GLIBC_2.17 recvfrom F GLIBC_2.17 recvmsg F GLIBC_2.17 sem_close F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index f58f4d7..353f98d 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index be955df..f93ba95 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 recv F GLIBC_2.32 recvfrom F GLIBC_2.32 recvmsg F GLIBC_2.32 sem_clockwait F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index eaa5527..95fdc9e 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 recv F GLIBC_2.4 recvfrom F GLIBC_2.4 recvmsg F GLIBC_2.4 sem_close F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index eaa5527..95fdc9e 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 recv F GLIBC_2.4 recvfrom F GLIBC_2.4 recvmsg F GLIBC_2.4 sem_close F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index 488dffa..92e498d 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 recv F GLIBC_2.29 recvfrom F GLIBC_2.29 recvmsg F GLIBC_2.29 sem_close F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index daaae69..1d24ec1 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 recv F GLIBC_2.2 recvfrom F GLIBC_2.2 recvmsg F GLIBC_2.2 sem_close F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index 0224d23..220cda9 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index 91f06d26..eee4fab 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 recv F GLIBC_2.2 recvfrom F GLIBC_2.2 recvmsg F GLIBC_2.2 sem_close F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index eaa5527..95fdc9e 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 recv F GLIBC_2.4 recvfrom F GLIBC_2.4 recvmsg F GLIBC_2.4 sem_close F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index 0224d23..220cda9 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 09fbbf5..406b0a1 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 recv F GLIBC_2.18 recvfrom F GLIBC_2.18 recvmsg F GLIBC_2.18 sem_close F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 09fbbf5..406b0a1 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 recv F GLIBC_2.18 recvfrom F GLIBC_2.18 recvmsg F GLIBC_2.18 sem_close F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index 90da136..28aa7b5 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index 90da136..28aa7b5 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 72baa0e..0162929 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 recv F GLIBC_2.21 recvfrom F GLIBC_2.21 recvmsg F GLIBC_2.21 sem_close F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index af460aa..7802b09 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 8c0b30c..b079d65 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 recv F GLIBC_2.3 recvfrom F GLIBC_2.3 recvmsg F GLIBC_2.3 sem_close F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index f12e66e..64a18ae 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 recv F GLIBC_2.17 recvfrom F GLIBC_2.17 recvmsg F GLIBC_2.17 sem_close F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 0fb9c72..ecdba25 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 recv F GLIBC_2.33 recvfrom F GLIBC_2.33 recvmsg F GLIBC_2.33 sem_clockwait F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 7a4328d..942d509 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 recv F GLIBC_2.27 recvfrom F GLIBC_2.27 recvmsg F GLIBC_2.27 sem_close F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index 42661c9..c8df3e9 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index a860d27..72e117c 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 recv F GLIBC_2.2 recvfrom F GLIBC_2.2 recvmsg F GLIBC_2.2 sem_close F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index daaae69..1d24ec1 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 recv F GLIBC_2.2 recvfrom F GLIBC_2.2 recvmsg F GLIBC_2.2 sem_close F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index daaae69..1d24ec1 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 recv F GLIBC_2.2 recvfrom F GLIBC_2.2 recvmsg F GLIBC_2.2 sem_close F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index f58f4d7..353f98d 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 recv F GLIBC_2.0 recvfrom F GLIBC_2.0 recvmsg F GLIBC_2.0 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index 91f06d26..eee4fab 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 recv F GLIBC_2.2 recvfrom F GLIBC_2.2 recvmsg F GLIBC_2.2 sem_close F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index 5c9e606..f53c06d 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 recv F GLIBC_2.2.5 recvfrom F GLIBC_2.2.5 recvmsg F GLIBC_2.2.5 sem_close F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 5f10d84..3785cb0 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 recv F GLIBC_2.16 recvfrom F GLIBC_2.16 recvmsg F GLIBC_2.16 sem_close F |