nptl: Remove send from libpthread

System Internals / glibc - Adhemerval Zanella [linaro.org] - 26 March 2021 16:36 UTC

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.

78d1724d53 nptl: Remove send from libpthread
nptl/Makefile | 2 --
nptl/Versions | 2 --
socket/Makefile | 1 +
sysdeps/unix/sysv/linux/aarch64/libc.abilist | 1 +
sysdeps/unix/sysv/linux/aarch64/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/aarch64/send.c | 9 +++++++++
sysdeps/unix/sysv/linux/aarch64/sysdep.h | 4 ----
sysdeps/unix/sysv/linux/alpha/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/arc/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/arm/be/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/arm/le/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/csky/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/hppa/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/i386/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/ia64/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/nios2/libc.abilist | 1 +
sysdeps/unix/sysv/linux/nios2/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/nios2/send.c | 9 +++++++++
sysdeps/unix/sysv/linux/nios2/sysdep.h | 4 ----
sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/send.c | 2 --
sysdeps/unix/sysv/linux/sh/be/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/sh/le/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/sysdep.h | 4 ----
sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist | 2 --
sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist | 2 --
40 files changed, 21 insertions(+), 76 deletions(-)

Upstream: sourceware.org


  • Share