diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-12 16:45:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-18 15:54:39 -0300 |
commit | 6f2e00cac58600329d187cc14fd7a7f1597e54c8 (patch) | |
tree | a2fee94da519393e06635d33c19549efe394ed78 | |
parent | 643a88a9c1ab023e6b582227b041aaadfabd36aa (diff) | |
download | glibc-6f2e00cac58600329d187cc14fd7a7f1597e54c8.tar.gz glibc-6f2e00cac58600329d187cc14fd7a7f1597e54c8.tar.xz glibc-6f2e00cac58600329d187cc14fd7a7f1597e54c8.zip |
nptl: Remove sendto 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 c8b3e41851..72b0c04ec8 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -82,7 +82,7 @@ static-only-routines = pthread_atfork # binaries. pthread-compat-wrappers = \ send \ - sendto fsync lseek lseek64 \ + fsync lseek lseek64 \ msync open open64 pause \ pread pread64 pwrite pwrite64 \ tcdrain msgrcv msgsnd \ @@ -299,7 +299,6 @@ CFLAGS-open.c += -fexceptions -fasynchronous-unwind-tables 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-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 bfc553db4b..9e00ad3f2f 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -178,7 +178,6 @@ libpthread { sem_wait; send; sendmsg; - sendto; sigaction; siglongjmp; sigwait; diff --git a/socket/Makefile b/socket/Makefile index 228b141c3b..c69c8bbd46 100644 --- a/socket/Makefile +++ b/socket/Makefile @@ -39,3 +39,4 @@ include ../Rules CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables +CFLAGS-sendto.c += -fexceptions -fasynchronous-unwind-tables diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index 2a0129ec9d..541ca38a43 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -170,7 +170,6 @@ GLIBC_2.17 sem_unlink F GLIBC_2.17 sem_wait F GLIBC_2.17 send F GLIBC_2.17 sendmsg F -GLIBC_2.17 sendto F GLIBC_2.17 sigaction F GLIBC_2.17 siglongjmp F GLIBC_2.17 sigwait F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index bb22a8fbc5..96b0b1bf70 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index 910045e24c..d5fe5862b4 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -188,7 +188,6 @@ GLIBC_2.32 sem_unlink F GLIBC_2.32 sem_wait F GLIBC_2.32 send F GLIBC_2.32 sendmsg F -GLIBC_2.32 sendto F GLIBC_2.32 sigaction F GLIBC_2.32 sigwait F GLIBC_2.32 tcdrain F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index 8d4a3fc062..51a222b247 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -199,7 +199,6 @@ GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait F GLIBC_2.4 send F GLIBC_2.4 sendmsg F -GLIBC_2.4 sendto F GLIBC_2.4 sigaction F GLIBC_2.4 siglongjmp F GLIBC_2.4 sigwait F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index 8d4a3fc062..51a222b247 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -199,7 +199,6 @@ GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait F GLIBC_2.4 send F GLIBC_2.4 sendmsg F -GLIBC_2.4 sendto F GLIBC_2.4 sigaction F GLIBC_2.4 siglongjmp F GLIBC_2.4 sigwait F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index 32a5763b89..2da448b810 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -182,7 +182,6 @@ GLIBC_2.29 sem_unlink F GLIBC_2.29 sem_wait F GLIBC_2.29 send F GLIBC_2.29 sendmsg F -GLIBC_2.29 sendto F GLIBC_2.29 sigaction F GLIBC_2.29 sigwait F GLIBC_2.29 tcdrain F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index f60266d245..fd2d452be7 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F GLIBC_2.2 sendmsg F -GLIBC_2.2 sendto F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 sigwait F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index 103388c4f5..23ee7dd7f0 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index a7d6b3deea..d91bd138c4 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F GLIBC_2.2 sendmsg F -GLIBC_2.2 sendto F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 sigwait F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index 8d4a3fc062..51a222b247 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -199,7 +199,6 @@ GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait F GLIBC_2.4 send F GLIBC_2.4 sendmsg F -GLIBC_2.4 sendto F GLIBC_2.4 sigaction F GLIBC_2.4 siglongjmp F GLIBC_2.4 sigwait F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index 103388c4f5..23ee7dd7f0 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 4e950d5259..6e8c0401ab 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -172,7 +172,6 @@ GLIBC_2.18 sem_unlink F GLIBC_2.18 sem_wait F GLIBC_2.18 send F GLIBC_2.18 sendmsg F -GLIBC_2.18 sendto F GLIBC_2.18 sigaction F GLIBC_2.18 siglongjmp F GLIBC_2.18 sigwait F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 4e950d5259..6e8c0401ab 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -172,7 +172,6 @@ GLIBC_2.18 sem_unlink F GLIBC_2.18 sem_wait F GLIBC_2.18 send F GLIBC_2.18 sendmsg F -GLIBC_2.18 sendto F GLIBC_2.18 sigaction F GLIBC_2.18 siglongjmp F GLIBC_2.18 sigwait F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index aaf79e4825..80f14f61af 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index aaf79e4825..80f14f61af 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index f38f6c1250..2c881bef1a 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -172,7 +172,6 @@ GLIBC_2.21 sem_unlink F GLIBC_2.21 sem_wait F GLIBC_2.21 send F GLIBC_2.21 sendmsg F -GLIBC_2.21 sendto F GLIBC_2.21 sigaction F GLIBC_2.21 siglongjmp F GLIBC_2.21 sigwait F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 90ba7f8344..d8de85927d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index d1c40ad014..c2eb28410e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -170,7 +170,6 @@ GLIBC_2.3 sem_unlink F GLIBC_2.3 sem_wait F GLIBC_2.3 send F GLIBC_2.3 sendmsg F -GLIBC_2.3 sendto F GLIBC_2.3 sigaction F GLIBC_2.3 siglongjmp F GLIBC_2.3 sigwait F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 2a0129ec9d..541ca38a43 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -170,7 +170,6 @@ GLIBC_2.17 sem_unlink F GLIBC_2.17 sem_wait F GLIBC_2.17 send F GLIBC_2.17 sendmsg F -GLIBC_2.17 sendto F GLIBC_2.17 sigaction F GLIBC_2.17 siglongjmp F GLIBC_2.17 sigwait F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index faedd4be62..176be14fc1 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -188,7 +188,6 @@ GLIBC_2.33 sem_unlink F GLIBC_2.33 sem_wait F GLIBC_2.33 send F GLIBC_2.33 sendmsg F -GLIBC_2.33 sendto F GLIBC_2.33 sigaction F GLIBC_2.33 sigwait F GLIBC_2.33 tcdrain F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 6af93a54c7..e8ea0ebf70 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -171,7 +171,6 @@ GLIBC_2.27 sem_unlink F GLIBC_2.27 sem_wait F GLIBC_2.27 send F GLIBC_2.27 sendmsg F -GLIBC_2.27 sendto F GLIBC_2.27 sigaction F GLIBC_2.27 sigwait F GLIBC_2.27 tcdrain F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index f7372e26d7..8524fd8de5 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index 2a06f25614..b34a38bea7 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -152,7 +152,6 @@ GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F GLIBC_2.2 sendmsg F -GLIBC_2.2 sendto F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 sigwait F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index f60266d245..fd2d452be7 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F GLIBC_2.2 sendmsg F -GLIBC_2.2 sendto F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 sigwait F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index f60266d245..fd2d452be7 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F GLIBC_2.2 sendmsg F -GLIBC_2.2 sendto F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 sigwait F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index bb22a8fbc5..96b0b1bf70 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F GLIBC_2.0 sendmsg F -GLIBC_2.0 sendto F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 sigwait F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index a7d6b3deea..d91bd138c4 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F GLIBC_2.2 sendmsg F -GLIBC_2.2 sendto F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 sigwait F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index eb769489f6..f37d526fa3 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.2.5 sem_unlink F GLIBC_2.2.5 sem_wait F GLIBC_2.2.5 send F GLIBC_2.2.5 sendmsg F -GLIBC_2.2.5 sendto F GLIBC_2.2.5 sigaction F GLIBC_2.2.5 siglongjmp F GLIBC_2.2.5 sigwait F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 2d669e82d9..dc776adaf0 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -170,7 +170,6 @@ GLIBC_2.16 sem_unlink F GLIBC_2.16 sem_wait F GLIBC_2.16 send F GLIBC_2.16 sendmsg F -GLIBC_2.16 sendto F GLIBC_2.16 sigaction F GLIBC_2.16 siglongjmp F GLIBC_2.16 sigwait F |