aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nptl/Makefile2
-rw-r--r--nptl/Versions2
-rw-r--r--socket/Makefile1
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/libc.abilist1
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/send.c9
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/sysdep.h4
-rw-r--r--sysdeps/unix/sysv/linux/alpha/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/arc/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/arm/be/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/arm/le/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/csky/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/hppa/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/i386/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/ia64/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/nios2/libc.abilist1
-rw-r--r--sysdeps/unix/sysv/linux/nios2/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/nios2/send.c9
-rw-r--r--sysdeps/unix/sysv/linux/nios2/sysdep.h4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/send.c2
-rw-r--r--sysdeps/unix/sysv/linux/sh/be/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/sh/le/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/sysdep.h4
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist2
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist2
40 files changed, 21 insertions, 76 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index b1948cc..3cf48c3 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -81,7 +81,6 @@ static-only-routines = pthread_atfork
# We need to provide certain routines for compatibility with existing
# binaries.
pthread-compat-wrappers = \
- send \
lseek lseek64 \
open open64 \
pread pread64 pwrite pwrite64 \
@@ -292,7 +291,6 @@ CFLAGS-msgrcv.c += -fexceptions -fasynchronous-unwind-tables
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-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables
diff --git a/nptl/Versions b/nptl/Versions
index be7a8e6..6e80568 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -120,7 +120,6 @@ libpthread {
__pthread_mutexattr_settype;
__pthread_once;
__pthread_setspecific;
- __send;
__sigaction;
_exit;
_pthread_cleanup_pop;
@@ -170,7 +169,6 @@ libpthread {
sem_post;
sem_trywait;
sem_wait;
- send;
sigaction;
siglongjmp;
}
diff --git a/socket/Makefile b/socket/Makefile
index 75582b1..855510a 100644
--- a/socket/Makefile
+++ b/socket/Makefile
@@ -42,3 +42,4 @@ CFLAGS-recvfrom.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-send.c += -fexceptions -fasynchronous-unwind-tables
diff --git a/sysdeps/unix/sysv/linux/aarch64/libc.abilist b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
index bac7952..29f41b7 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
@@ -371,6 +371,7 @@ GLIBC_2.17 __sched_getscheduler F
GLIBC_2.17 __sched_setscheduler F
GLIBC_2.17 __sched_yield F
GLIBC_2.17 __select F
+GLIBC_2.17 __send F
GLIBC_2.17 __setmntent F
GLIBC_2.17 __setpgid F
GLIBC_2.17 __sigaction F
diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
index bbd24af..beeb6c6 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.17 __pthread_unregister_cancel_restore F
GLIBC_2.17 __pthread_unwind_next F
GLIBC_2.17 __pwrite64 F
GLIBC_2.17 __res_state F
-GLIBC_2.17 __send F
GLIBC_2.17 __sigaction F
GLIBC_2.17 _pthread_cleanup_pop F
GLIBC_2.17 _pthread_cleanup_pop_restore F
@@ -162,7 +161,6 @@ GLIBC_2.17 sem_timedwait F
GLIBC_2.17 sem_trywait F
GLIBC_2.17 sem_unlink F
GLIBC_2.17 sem_wait F
-GLIBC_2.17 send F
GLIBC_2.17 sigaction F
GLIBC_2.17 siglongjmp F
GLIBC_2.18 pthread_getattr_default_np F
diff --git a/sysdeps/unix/sysv/linux/aarch64/send.c b/sysdeps/unix/sysv/linux/aarch64/send.c
new file mode 100644
index 0000000..db4d36b
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/aarch64/send.c
@@ -0,0 +1,9 @@
+#include <shlib-compat.h>
+
+#include <sysdeps/unix/sysv/linux/send.c>
+
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_17, GLIBC_2_34)
+/* libpthread compat symbol: AArch64 used the generic version without the
+ libc_hidden_def which lead in a non existent __send symbol in libc.so. */
+compat_symbol (libc, __libc_send, __send, GLIBC_2_17);
+#endif
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index 3059b8a..b019112 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -164,10 +164,6 @@
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime"
# define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday"
-/* Previously AArch64 used the generic version without the libc_hidden_def
- which lead in a non existent __send symbol in libc.so. */
-# undef HAVE_INTERNAL_SEND_SYMBOL
-
# define SINGLE_THREAD_BY_GLOBAL 1
# undef INTERNAL_SYSCALL_RAW
diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist
index ec2128b..c8f1793 100644
--- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.1 __libc_allocate_rtsig F
diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist
index 06e013f..1d40b1c 100644
--- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.32 __pthread_unregister_cancel_restore F
GLIBC_2.32 __pthread_unwind_next F
GLIBC_2.32 __pwrite64 F
GLIBC_2.32 __res_state F
-GLIBC_2.32 __send F
GLIBC_2.32 __sigaction F
GLIBC_2.32 _pthread_cleanup_pop F
GLIBC_2.32 _pthread_cleanup_pop_restore F
@@ -182,7 +181,6 @@ GLIBC_2.32 sem_timedwait F
GLIBC_2.32 sem_trywait F
GLIBC_2.32 sem_unlink F
GLIBC_2.32 sem_wait F
-GLIBC_2.32 send F
GLIBC_2.32 sigaction F
GLIBC_2.32 thrd_create F
GLIBC_2.32 thrd_detach F
diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist
index 6abba57..31fa48c 100644
--- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist
@@ -72,7 +72,6 @@ GLIBC_2.4 __pthread_unregister_cancel_restore F
GLIBC_2.4 __pthread_unwind_next F
GLIBC_2.4 __pwrite64 F
GLIBC_2.4 __res_state F
-GLIBC_2.4 __send F
GLIBC_2.4 __sigaction F
GLIBC_2.4 _pthread_cleanup_pop F
GLIBC_2.4 _pthread_cleanup_pop_restore F
@@ -191,6 +190,5 @@ GLIBC_2.4 sem_timedwait F
GLIBC_2.4 sem_trywait F
GLIBC_2.4 sem_unlink F
GLIBC_2.4 sem_wait F
-GLIBC_2.4 send F
GLIBC_2.4 sigaction F
GLIBC_2.4 siglongjmp F
diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist
index 6abba57..31fa48c 100644
--- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist
@@ -72,7 +72,6 @@ GLIBC_2.4 __pthread_unregister_cancel_restore F
GLIBC_2.4 __pthread_unwind_next F
GLIBC_2.4 __pwrite64 F
GLIBC_2.4 __res_state F
-GLIBC_2.4 __send F
GLIBC_2.4 __sigaction F
GLIBC_2.4 _pthread_cleanup_pop F
GLIBC_2.4 _pthread_cleanup_pop_restore F
@@ -191,6 +190,5 @@ GLIBC_2.4 sem_timedwait F
GLIBC_2.4 sem_trywait F
GLIBC_2.4 sem_unlink F
GLIBC_2.4 sem_wait F
-GLIBC_2.4 send F
GLIBC_2.4 sigaction F
GLIBC_2.4 siglongjmp F
diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist
index 9e1fbdb..858fbaa 100644
--- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.29 __pthread_unregister_cancel_restore F
GLIBC_2.29 __pthread_unwind_next F
GLIBC_2.29 __pwrite64 F
GLIBC_2.29 __res_state F
-GLIBC_2.29 __send F
GLIBC_2.29 __sigaction F
GLIBC_2.29 _pthread_cleanup_pop F
GLIBC_2.29 _pthread_cleanup_pop_restore F
@@ -176,7 +175,6 @@ GLIBC_2.29 sem_timedwait F
GLIBC_2.29 sem_trywait F
GLIBC_2.29 sem_unlink F
GLIBC_2.29 sem_wait F
-GLIBC_2.29 send F
GLIBC_2.29 sigaction F
GLIBC_2.29 thrd_create F
GLIBC_2.29 thrd_detach F
diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist
index 8c72975..199f124 100644
--- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist
@@ -39,7 +39,6 @@ GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __res_state F
-GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
GLIBC_2.2 _pthread_cleanup_pop F
GLIBC_2.2 _pthread_cleanup_pop_restore F
@@ -142,7 +141,6 @@ GLIBC_2.2 sem_timedwait F
GLIBC_2.2 sem_trywait F
GLIBC_2.2 sem_unlink F
GLIBC_2.2 sem_wait F
-GLIBC_2.2 send F
GLIBC_2.2 sigaction F
GLIBC_2.2 siglongjmp F
GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist
index aa748ac..40685d5 100644
--- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.1 __libc_allocate_rtsig F
diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist
index 479dfb3..2787631 100644
--- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist
@@ -39,7 +39,6 @@ GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __res_state F
-GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
GLIBC_2.2 _pthread_cleanup_pop F
GLIBC_2.2 _pthread_cleanup_pop_restore F
@@ -142,7 +141,6 @@ GLIBC_2.2 sem_timedwait F
GLIBC_2.2 sem_trywait F
GLIBC_2.2 sem_unlink F
GLIBC_2.2 sem_wait F
-GLIBC_2.2 send F
GLIBC_2.2 sigaction F
GLIBC_2.2 siglongjmp F
GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
index 6abba57..31fa48c 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
@@ -72,7 +72,6 @@ GLIBC_2.4 __pthread_unregister_cancel_restore F
GLIBC_2.4 __pthread_unwind_next F
GLIBC_2.4 __pwrite64 F
GLIBC_2.4 __res_state F
-GLIBC_2.4 __send F
GLIBC_2.4 __sigaction F
GLIBC_2.4 _pthread_cleanup_pop F
GLIBC_2.4 _pthread_cleanup_pop_restore F
@@ -191,6 +190,5 @@ GLIBC_2.4 sem_timedwait F
GLIBC_2.4 sem_trywait F
GLIBC_2.4 sem_unlink F
GLIBC_2.4 sem_wait F
-GLIBC_2.4 send F
GLIBC_2.4 sigaction F
GLIBC_2.4 siglongjmp F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
index aa748ac..40685d5 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.1 __libc_allocate_rtsig F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
index a1f250b..83ad202 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.18 __pthread_unregister_cancel_restore F
GLIBC_2.18 __pthread_unwind_next F
GLIBC_2.18 __pwrite64 F
GLIBC_2.18 __res_state F
-GLIBC_2.18 __send F
GLIBC_2.18 __sigaction F
GLIBC_2.18 _pthread_cleanup_pop F
GLIBC_2.18 _pthread_cleanup_pop_restore F
@@ -164,7 +163,6 @@ GLIBC_2.18 sem_timedwait F
GLIBC_2.18 sem_trywait F
GLIBC_2.18 sem_unlink F
GLIBC_2.18 sem_wait F
-GLIBC_2.18 send F
GLIBC_2.18 sigaction F
GLIBC_2.18 siglongjmp F
GLIBC_2.28 call_once F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
index a1f250b..83ad202 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.18 __pthread_unregister_cancel_restore F
GLIBC_2.18 __pthread_unwind_next F
GLIBC_2.18 __pwrite64 F
GLIBC_2.18 __res_state F
-GLIBC_2.18 __send F
GLIBC_2.18 __sigaction F
GLIBC_2.18 _pthread_cleanup_pop F
GLIBC_2.18 _pthread_cleanup_pop_restore F
@@ -164,7 +163,6 @@ GLIBC_2.18 sem_timedwait F
GLIBC_2.18 sem_trywait F
GLIBC_2.18 sem_unlink F
GLIBC_2.18 sem_wait F
-GLIBC_2.18 send F
GLIBC_2.18 sigaction F
GLIBC_2.18 siglongjmp F
GLIBC_2.28 call_once F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
index 9c35d0d..88b6d31 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.11 pthread_sigqueue F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
index 9c35d0d..88b6d31 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.11 pthread_sigqueue F
diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist
index 17f5609..3acb12c 100644
--- a/sysdeps/unix/sysv/linux/nios2/libc.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist
@@ -409,6 +409,7 @@ GLIBC_2.21 __sched_getscheduler F
GLIBC_2.21 __sched_setscheduler F
GLIBC_2.21 __sched_yield F
GLIBC_2.21 __select F
+GLIBC_2.21 __send F
GLIBC_2.21 __setmntent F
GLIBC_2.21 __setpgid F
GLIBC_2.21 __sigaction F
diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist
index afdbd3d..3307186 100644
--- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.21 __pthread_unregister_cancel_restore F
GLIBC_2.21 __pthread_unwind_next F
GLIBC_2.21 __pwrite64 F
GLIBC_2.21 __res_state F
-GLIBC_2.21 __send F
GLIBC_2.21 __sigaction F
GLIBC_2.21 _pthread_cleanup_pop F
GLIBC_2.21 _pthread_cleanup_pop_restore F
@@ -164,7 +163,6 @@ GLIBC_2.21 sem_timedwait F
GLIBC_2.21 sem_trywait F
GLIBC_2.21 sem_unlink F
GLIBC_2.21 sem_wait F
-GLIBC_2.21 send F
GLIBC_2.21 sigaction F
GLIBC_2.21 siglongjmp F
GLIBC_2.28 call_once F
diff --git a/sysdeps/unix/sysv/linux/nios2/send.c b/sysdeps/unix/sysv/linux/nios2/send.c
new file mode 100644
index 0000000..c1621c8
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/nios2/send.c
@@ -0,0 +1,9 @@
+#include <shlib-compat.h>
+
+#include <sysdeps/unix/sysv/linux/send.c>
+
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_21, GLIBC_2_34)
+/* libpthread compat symbol: Nios2 used the generic version without the
+ libc_hidden_def which lead in a non existent __send symbol in libc.so. */
+compat_symbol (libc, __libc_send, __send, GLIBC_2_21);
+#endif
diff --git a/sysdeps/unix/sysv/linux/nios2/sysdep.h b/sysdeps/unix/sysv/linux/nios2/sysdep.h
index e37e66f..bd802c4 100644
--- a/sysdeps/unix/sysv/linux/nios2/sysdep.h
+++ b/sysdeps/unix/sysv/linux/nios2/sysdep.h
@@ -140,10 +140,6 @@
/* In order to get __set_errno() definition in INLINE_SYSCALL. */
#include <errno.h>
-/* Previously Nios2 used the generic version without the libc_hidden_def
- which lead in a non existent __send symbol in libc.so. */
-# undef HAVE_INTERNAL_SEND_SYMBOL
-
#undef INTERNAL_SYSCALL_RAW
#define INTERNAL_SYSCALL_RAW(name, nr, args...) \
({ unsigned int _sys_result; \
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
index 9c17366..72d5782 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.1 __libc_allocate_rtsig F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
index 3d14cbc..31e636b 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
@@ -60,7 +60,6 @@ GLIBC_2.3 __pthread_rwlock_wrlock F
GLIBC_2.3 __pthread_setspecific F
GLIBC_2.3 __pwrite64 F
GLIBC_2.3 __res_state F
-GLIBC_2.3 __send F
GLIBC_2.3 __sigaction F
GLIBC_2.3 _pthread_cleanup_pop F
GLIBC_2.3 _pthread_cleanup_pop_restore F
@@ -162,7 +161,6 @@ GLIBC_2.3 sem_timedwait F
GLIBC_2.3 sem_trywait F
GLIBC_2.3 sem_unlink F
GLIBC_2.3 sem_wait F
-GLIBC_2.3 send F
GLIBC_2.3 sigaction F
GLIBC_2.3 siglongjmp F
GLIBC_2.3.2 pthread_cond_broadcast F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
index bbd24af..beeb6c6 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.17 __pthread_unregister_cancel_restore F
GLIBC_2.17 __pthread_unwind_next F
GLIBC_2.17 __pwrite64 F
GLIBC_2.17 __res_state F
-GLIBC_2.17 __send F
GLIBC_2.17 __sigaction F
GLIBC_2.17 _pthread_cleanup_pop F
GLIBC_2.17 _pthread_cleanup_pop_restore F
@@ -162,7 +161,6 @@ GLIBC_2.17 sem_timedwait F
GLIBC_2.17 sem_trywait F
GLIBC_2.17 sem_unlink F
GLIBC_2.17 sem_wait F
-GLIBC_2.17 send F
GLIBC_2.17 sigaction F
GLIBC_2.17 siglongjmp F
GLIBC_2.18 pthread_getattr_default_np F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist
index 48c03fc..b28f1fb 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.33 __pthread_unregister_cancel_restore F
GLIBC_2.33 __pthread_unwind_next F
GLIBC_2.33 __pwrite64 F
GLIBC_2.33 __res_state F
-GLIBC_2.33 __send F
GLIBC_2.33 __sigaction F
GLIBC_2.33 _pthread_cleanup_pop F
GLIBC_2.33 _pthread_cleanup_pop_restore F
@@ -182,7 +181,6 @@ GLIBC_2.33 sem_timedwait F
GLIBC_2.33 sem_trywait F
GLIBC_2.33 sem_unlink F
GLIBC_2.33 sem_wait F
-GLIBC_2.33 send F
GLIBC_2.33 sigaction F
GLIBC_2.33 thrd_create F
GLIBC_2.33 thrd_detach F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
index b740081..824f36a 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.27 __pthread_unregister_cancel_restore F
GLIBC_2.27 __pthread_unwind_next F
GLIBC_2.27 __pwrite64 F
GLIBC_2.27 __res_state F
-GLIBC_2.27 __send F
GLIBC_2.27 __sigaction F
GLIBC_2.27 _pthread_cleanup_pop F
GLIBC_2.27 _pthread_cleanup_pop_restore F
@@ -163,7 +162,6 @@ GLIBC_2.27 sem_timedwait F
GLIBC_2.27 sem_trywait F
GLIBC_2.27 sem_unlink F
GLIBC_2.27 sem_wait F
-GLIBC_2.27 send F
GLIBC_2.27 sigaction F
GLIBC_2.28 call_once F
GLIBC_2.28 cnd_broadcast F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
index aeeeae5..f43c094 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.1 __libc_allocate_rtsig F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
index 105842b..9958ecb 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
@@ -41,7 +41,6 @@ GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __res_state F
-GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
GLIBC_2.2 _pthread_cleanup_pop F
GLIBC_2.2 _pthread_cleanup_pop_restore F
@@ -144,7 +143,6 @@ GLIBC_2.2 sem_timedwait F
GLIBC_2.2 sem_trywait F
GLIBC_2.2 sem_unlink F
GLIBC_2.2 sem_wait F
-GLIBC_2.2 send F
GLIBC_2.2 sigaction F
GLIBC_2.2 siglongjmp F
GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/send.c b/sysdeps/unix/sysv/linux/send.c
index 283e09e..f29a7de 100644
--- a/sysdeps/unix/sysv/linux/send.c
+++ b/sysdeps/unix/sysv/linux/send.c
@@ -32,6 +32,4 @@ __libc_send (int fd, const void *buf, size_t len, int flags)
}
weak_alias (__libc_send, send)
weak_alias (__libc_send, __send)
-#ifdef HAVE_INTERNAL_SEND_SYMBOL
libc_hidden_def (__send)
-#endif
diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist
index 8c72975..199f124 100644
--- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist
@@ -39,7 +39,6 @@ GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __res_state F
-GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
GLIBC_2.2 _pthread_cleanup_pop F
GLIBC_2.2 _pthread_cleanup_pop_restore F
@@ -142,7 +141,6 @@ GLIBC_2.2 sem_timedwait F
GLIBC_2.2 sem_trywait F
GLIBC_2.2 sem_unlink F
GLIBC_2.2 sem_wait F
-GLIBC_2.2 send F
GLIBC_2.2 sigaction F
GLIBC_2.2 siglongjmp F
GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist
index 8c72975..199f124 100644
--- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist
@@ -39,7 +39,6 @@ GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __res_state F
-GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
GLIBC_2.2 _pthread_cleanup_pop F
GLIBC_2.2 _pthread_cleanup_pop_restore F
@@ -142,7 +141,6 @@ GLIBC_2.2 sem_timedwait F
GLIBC_2.2 sem_trywait F
GLIBC_2.2 sem_unlink F
GLIBC_2.2 sem_wait F
-GLIBC_2.2 send F
GLIBC_2.2 sigaction F
GLIBC_2.2 siglongjmp F
GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
index ec2128b..c8f1793 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
@@ -17,7 +17,6 @@ GLIBC_2.0 __pthread_mutexattr_init F
GLIBC_2.0 __pthread_mutexattr_settype F
GLIBC_2.0 __pthread_once F
GLIBC_2.0 __pthread_setspecific F
-GLIBC_2.0 __send F
GLIBC_2.0 __sigaction F
GLIBC_2.0 _pthread_cleanup_pop F
GLIBC_2.0 _pthread_cleanup_pop_restore F
@@ -65,7 +64,6 @@ GLIBC_2.0 sem_init F
GLIBC_2.0 sem_post F
GLIBC_2.0 sem_trywait F
GLIBC_2.0 sem_wait F
-GLIBC_2.0 send F
GLIBC_2.0 sigaction F
GLIBC_2.0 siglongjmp F
GLIBC_2.1 __libc_allocate_rtsig F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
index 479dfb3..2787631 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
@@ -39,7 +39,6 @@ GLIBC_2.2 __pthread_rwlock_wrlock F
GLIBC_2.2 __pthread_setspecific F
GLIBC_2.2 __pwrite64 F
GLIBC_2.2 __res_state F
-GLIBC_2.2 __send F
GLIBC_2.2 __sigaction F
GLIBC_2.2 _pthread_cleanup_pop F
GLIBC_2.2 _pthread_cleanup_pop_restore F
@@ -142,7 +141,6 @@ GLIBC_2.2 sem_timedwait F
GLIBC_2.2 sem_trywait F
GLIBC_2.2 sem_unlink F
GLIBC_2.2 sem_wait F
-GLIBC_2.2 send F
GLIBC_2.2 sigaction F
GLIBC_2.2 siglongjmp F
GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sysdep.h b/sysdeps/unix/sysv/linux/sysdep.h
index bff83e5..3ef72dc 100644
--- a/sysdeps/unix/sysv/linux/sysdep.h
+++ b/sysdeps/unix/sysv/linux/sysdep.h
@@ -95,10 +95,6 @@
(long) (val), \
(long) (((uint64_t) (val)) >> 32)
-/* Exports the __send symbol on send.c linux implementation (some ABI have
- it missing due the usage of a old generic version without it). */
-#define HAVE_INTERNAL_SEND_SYMBOL 1
-
/* Export the ___brk_addr symbol on brk.c implementation (some ABIs export
it due and old crtstuff.c code). */
#define HAVE_INTERNAL_BRK_ADDR_SYMBOL 0
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
index 0211160..b8d5fa3 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
@@ -39,7 +39,6 @@ GLIBC_2.2.5 __pthread_rwlock_wrlock F
GLIBC_2.2.5 __pthread_setspecific F
GLIBC_2.2.5 __pwrite64 F
GLIBC_2.2.5 __res_state F
-GLIBC_2.2.5 __send F
GLIBC_2.2.5 __sigaction F
GLIBC_2.2.5 _pthread_cleanup_pop F
GLIBC_2.2.5 _pthread_cleanup_pop_restore F
@@ -142,7 +141,6 @@ GLIBC_2.2.5 sem_timedwait F
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 send F
GLIBC_2.2.5 sigaction F
GLIBC_2.2.5 siglongjmp F
GLIBC_2.2.6 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
index e79b5d6..86b646a 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
@@ -37,7 +37,6 @@ GLIBC_2.16 __pthread_unregister_cancel_restore F
GLIBC_2.16 __pthread_unwind_next F
GLIBC_2.16 __pwrite64 F
GLIBC_2.16 __res_state F
-GLIBC_2.16 __send F
GLIBC_2.16 __sigaction F
GLIBC_2.16 _pthread_cleanup_pop F
GLIBC_2.16 _pthread_cleanup_pop_restore F
@@ -162,7 +161,6 @@ GLIBC_2.16 sem_timedwait F
GLIBC_2.16 sem_trywait F
GLIBC_2.16 sem_unlink F
GLIBC_2.16 sem_wait F
-GLIBC_2.16 send F
GLIBC_2.16 sigaction F
GLIBC_2.16 siglongjmp F
GLIBC_2.18 pthread_getattr_default_np F