about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sysdep.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-12 16:42:39 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-26 13:36:17 -0300
commit78d1724d53e23fcbbf4df832015aae269b98249c (patch)
tree0afd09f9c7536942ca5ffc23450d9427320914f6 /sysdeps/unix/sysv/linux/sysdep.h
parent4d2e9ef806bd9edc9cf5e133983a4e86ddab381a (diff)
downloadglibc-78d1724d53e23fcbbf4df832015aae269b98249c.tar.gz
glibc-78d1724d53e23fcbbf4df832015aae269b98249c.tar.xz
glibc-78d1724d53e23fcbbf4df832015aae269b98249c.zip
nptl: Remove send from libpthread
The libc version is identical and built with same flags.  Both aarch64
and nios2 also requires to export __send and tt was done previously with
the HAVE_INTERNAL_SEND_SYMBOL (which forced the symbol creation).

All __send callers are internal to libc and the original issue that
required the symbol export was due a missing libc_hidden_def.  So
a compat symbol is added for __send and the libc_hidden_def is
defined regardless.

Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/sysdep.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sysdep.h b/sysdeps/unix/sysv/linux/sysdep.h
index bff83e5bcd..3ef72dc805 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