aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/aarch64/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/send.c')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/send.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/send.c b/sysdeps/unix/sysv/linux/aarch64/send.c
new file mode 100644
index 0000000000..db4d36b2b1
--- /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