diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-12 16:42:39 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-26 13:36:17 -0300 |
commit | 78d1724d53e23fcbbf4df832015aae269b98249c (patch) | |
tree | 0afd09f9c7536942ca5ffc23450d9427320914f6 /nptl | |
parent | 4d2e9ef806bd9edc9cf5e133983a4e86ddab381a (diff) | |
download | glibc-78d1724d53e23fcbbf4df832015aae269b98249c.tar glibc-78d1724d53e23fcbbf4df832015aae269b98249c.tar.gz glibc-78d1724d53e23fcbbf4df832015aae269b98249c.tar.bz2 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 'nptl')
-rw-r--r-- | nptl/Makefile | 2 | ||||
-rw-r--r-- | nptl/Versions | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index b1948cc47a..3cf48c3042 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 be7a8e68cc..6e80568e57 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; } |