diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-13 20:15:55 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-18 15:54:39 -0300 |
commit | 0cf67de81650dee7ccd72b43b9405842d3509fbe (patch) | |
tree | 3da9c98fb57f12555c1ce78c93c082c9c4cae8b2 | |
parent | 2d6f4ebd6504da8cce1fe69260b675c393794327 (diff) | |
download | glibc-0cf67de81650dee7ccd72b43b9405842d3509fbe.zip glibc-0cf67de81650dee7ccd72b43b9405842d3509fbe.tar.gz glibc-0cf67de81650dee7ccd72b43b9405842d3509fbe.tar.bz2 |
nptl: Remove recvmsg 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 055b146..2efae46 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -87,7 +87,7 @@ pthread-compat-wrappers = \ pread pread64 pwrite pwrite64 \ msgrcv msgsnd \ sigsuspend \ - recvmsg sendmsg + sendmsg libpthread-routines = \ $(pthread-compat-wrappers) \ @@ -297,7 +297,6 @@ CFLAGS-msgsnd.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-open.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-open64.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-send.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 CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables diff --git a/nptl/Versions b/nptl/Versions index e5ee63b..c6a851c 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -166,7 +166,6 @@ libpthread { pthread_sigmask; pthread_testcancel; raise; - recvmsg; sem_destroy; sem_getvalue; sem_init; diff --git a/socket/Makefile b/socket/Makefile index c69c8bb..01d3d18 100644 --- a/socket/Makefile +++ b/socket/Makefile @@ -40,3 +40,4 @@ include ../Rules CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sendto.c += -fexceptions -fasynchronous-unwind-tables +CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index 7d95e27..83f3d81 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -154,7 +154,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 recvmsg F GLIBC_2.17 sem_close F GLIBC_2.17 sem_destroy F GLIBC_2.17 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index f86ba79..cabcfe6 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index 646dcb2..962885d 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -171,7 +171,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 recvmsg F GLIBC_2.32 sem_clockwait F GLIBC_2.32 sem_close F GLIBC_2.32 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index 4646608..bc6732b 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -183,7 +183,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 recvmsg F GLIBC_2.4 sem_close F GLIBC_2.4 sem_destroy F GLIBC_2.4 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index 4646608..bc6732b 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -183,7 +183,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 recvmsg F GLIBC_2.4 sem_close F GLIBC_2.4 sem_destroy F GLIBC_2.4 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index bb39778..10dff52 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -166,7 +166,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 recvmsg F GLIBC_2.29 sem_close F GLIBC_2.29 sem_destroy F GLIBC_2.29 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index 53914d1..b7ef631 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -134,7 +134,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 recvmsg F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index 3134548..ef52f3d 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index 3512271..cc1e276 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -134,7 +134,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 recvmsg F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index 4646608..bc6732b 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -183,7 +183,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 recvmsg F GLIBC_2.4 sem_close F GLIBC_2.4 sem_destroy F GLIBC_2.4 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index 3134548..ef52f3d 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index ae457ef..14c940f 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -156,7 +156,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 recvmsg F GLIBC_2.18 sem_close F GLIBC_2.18 sem_destroy F GLIBC_2.18 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index ae457ef..14c940f 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -156,7 +156,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 recvmsg F GLIBC_2.18 sem_close F GLIBC_2.18 sem_destroy F GLIBC_2.18 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index 36da3e5..dac8da5 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index 36da3e5..dac8da5 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 81708b6..23dd1e3 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -156,7 +156,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 recvmsg F GLIBC_2.21 sem_close F GLIBC_2.21 sem_destroy F GLIBC_2.21 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 819a7c1..0902068 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 257b2f2..6d736b8 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -154,7 +154,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 recvmsg F GLIBC_2.3 sem_close F GLIBC_2.3 sem_destroy F GLIBC_2.3 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 7d95e27..83f3d81 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -154,7 +154,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 recvmsg F GLIBC_2.17 sem_close F GLIBC_2.17 sem_destroy F GLIBC_2.17 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index f0b6a53..51d53ed 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -171,7 +171,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 recvmsg F GLIBC_2.33 sem_clockwait F GLIBC_2.33 sem_close F GLIBC_2.33 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 6af7576..e9f7213 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -155,7 +155,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 recvmsg F GLIBC_2.27 sem_close F GLIBC_2.27 sem_destroy F GLIBC_2.27 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index e9b430f..a718518 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index 5ec7e31..308a11b 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -136,7 +136,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 recvmsg F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index 53914d1..b7ef631 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -134,7 +134,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 recvmsg F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index 53914d1..b7ef631 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -134,7 +134,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 recvmsg F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index f86ba79..cabcfe6 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -61,7 +61,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 recvmsg F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index 3512271..cc1e276 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -134,7 +134,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 recvmsg F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index ef71adc..eb009ce 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -134,7 +134,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 recvmsg F GLIBC_2.2.5 sem_close F GLIBC_2.2.5 sem_destroy F GLIBC_2.2.5 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index cc12bb5..94b2ff8 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -154,7 +154,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 recvmsg F GLIBC_2.16 sem_close F GLIBC_2.16 sem_destroy F GLIBC_2.16 sem_getvalue F |