mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
78d1724d53
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.
10 lines
344 B
C
10 lines
344 B
C
#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
|