[PATCH v2 02/14] nptl: Remove send from libpthread
Florian Weimer
fw@deneb.enyo.de
Thu Mar 25 13:36:33 GMT 2021
* Adhemerval Zanella via Libc-alpha:
> 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.
What's the intended compat symbol status of __send with this patch?
Presently, it's a compat symbol on aarch64 and nios2 only, I think.
This is sufficient to avoid the additional of the __send@@GLIBC_2.34
symbol there. The other architectures already have a public __send
symbol, so the issue does not apply to them.
I think this split approach is okay for now, and as far as I can tell,
this patch achieves it, so I think it should go in.
More information about the Libc-alpha
mailing list