From a062ba38362f370aefac400e34ece13d09083752 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 3 May 2021 08:12:12 +0200 Subject: nptl: Move tss_get into libc The symbol was moved using scripts/move-symbol-to-libc.py. __pthread_getspecific@@GLIBC_2.34 is no longer needed after the move, so it is removed with this commit, too. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- sysdeps/pthread/tss_get.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sysdeps/pthread/tss_get.c') diff --git a/sysdeps/pthread/tss_get.c b/sysdeps/pthread/tss_get.c index a4b6f82b5e..f74af18017 100644 --- a/sysdeps/pthread/tss_get.c +++ b/sysdeps/pthread/tss_get.c @@ -16,10 +16,19 @@ License along with the GNU C Library; if not, see . */ +#include #include "thrd_priv.h" void * -tss_get (tss_t tss_id) +__tss_get (tss_t tss_id) { return __pthread_getspecific (tss_id); } +#if PTHREAD_IN_LIBC +versioned_symbol (libc, __tss_get, tss_get, GLIBC_2_34); +# if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_28, GLIBC_2_34) +compat_symbol (libpthread, __tss_get, tss_get, GLIBC_2_28); +# endif +#else /* !PTHREAD_IN_LIBC */ +strong_alias (__tss_get, tss_get) +#endif -- cgit 1.4.1