From 78d1724d53e23fcbbf4df832015aae269b98249c Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 12 Mar 2021 16:42:39 -0300 Subject: 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. --- sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist | 2 -- sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist | 2 -- 2 files changed, 4 deletions(-) (limited to 'sysdeps/unix/sysv/linux/x86_64') diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index 0211160097..b8d5fa3517 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 e79b5d6e28..86b646a608 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 -- cgit 1.4.1