Message ID | 20210316200510.2135405-10-adhemerval.zanella@linaro.org |
---|---|
State | New |
Headers | show |
Series | libpthread removal: pthread-compat-wrappers and other libc symbols | expand |
diff --git a/nptl/Makefile b/nptl/Makefile index fa71069892..0b05309b8d 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 = \ - sendto fsync lseek lseek64 \ + fsync lseek lseek64 \ msync open open64 pause \ pread pread64 pwrite pwrite64 \ tcdrain msgrcv msgsnd \ @@ -297,7 +297,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-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 0c4b681adf..3d1d5c4cec 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -176,7 +176,6 @@ libpthread { sem_trywait; sem_wait; sendmsg; - sendto; sigaction; siglongjmp; sigwait; diff --git a/socket/Makefile b/socket/Makefile index 55c2416887..2b086e0a05 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-send.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 f4b6b38115..b8c8317c03 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -168,7 +168,6 @@ GLIBC_2.17 sem_trywait F GLIBC_2.17 sem_unlink F GLIBC_2.17 sem_wait 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 34b5cf8b04..0a52ef31c6 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 bc372dc086..03c645f61d 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -186,7 +186,6 @@ GLIBC_2.32 sem_trywait F GLIBC_2.32 sem_unlink F GLIBC_2.32 sem_wait 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 88d91c8955..9eb80bf588 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -197,7 +197,6 @@ GLIBC_2.4 sem_trywait F GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait 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 88d91c8955..9eb80bf588 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -197,7 +197,6 @@ GLIBC_2.4 sem_trywait F GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait 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 41a0da03eb..1582a2917a 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -180,7 +180,6 @@ GLIBC_2.29 sem_trywait F GLIBC_2.29 sem_unlink F GLIBC_2.29 sem_wait 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 8d4a802c03..2902c010a4 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -148,7 +148,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait 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 36b8644259..81eba9a366 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 42585ba3ce..c645bbf82d 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -148,7 +148,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait 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 88d91c8955..9eb80bf588 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -197,7 +197,6 @@ GLIBC_2.4 sem_trywait F GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait 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 36b8644259..81eba9a366 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 d780989570..6269d97ebc 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -170,7 +170,6 @@ GLIBC_2.18 sem_trywait F GLIBC_2.18 sem_unlink F GLIBC_2.18 sem_wait 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 d780989570..6269d97ebc 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -170,7 +170,6 @@ GLIBC_2.18 sem_trywait F GLIBC_2.18 sem_unlink F GLIBC_2.18 sem_wait 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 386c89943c..b20a228e30 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 386c89943c..b20a228e30 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 dd9eca02b9..b6ce6d132a 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -170,7 +170,6 @@ GLIBC_2.21 sem_trywait F GLIBC_2.21 sem_unlink F GLIBC_2.21 sem_wait 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 c0d9ac4000..c7839823a1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 ac031664df..eb5b96affc 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -168,7 +168,6 @@ GLIBC_2.3 sem_trywait F GLIBC_2.3 sem_unlink F GLIBC_2.3 sem_wait 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 f4b6b38115..b8c8317c03 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -168,7 +168,6 @@ GLIBC_2.17 sem_trywait F GLIBC_2.17 sem_unlink F GLIBC_2.17 sem_wait 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 9e502ef6db..b70b4948a3 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -186,7 +186,6 @@ GLIBC_2.33 sem_trywait F GLIBC_2.33 sem_unlink F GLIBC_2.33 sem_wait 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 3e18d1d43c..3b2e318770 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -169,7 +169,6 @@ GLIBC_2.27 sem_trywait F GLIBC_2.27 sem_unlink F GLIBC_2.27 sem_wait 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 a0b09b0bf3..5fa4c8a4ab 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 1469f714dd..d09554633a 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait 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 8d4a802c03..2902c010a4 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -148,7 +148,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait 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 8d4a802c03..2902c010a4 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -148,7 +148,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait 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 34b5cf8b04..0a52ef31c6 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -71,7 +71,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait 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 42585ba3ce..c645bbf82d 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -148,7 +148,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait 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 0065e7843d..b83c0462c1 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -148,7 +148,6 @@ GLIBC_2.2.5 sem_trywait F GLIBC_2.2.5 sem_unlink F GLIBC_2.2.5 sem_wait 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 13ac2abbb3..f1197f99f8 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -168,7 +168,6 @@ GLIBC_2.16 sem_trywait F GLIBC_2.16 sem_unlink F GLIBC_2.16 sem_wait 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