From 8bc6a6d73c7f9004bfa3e81a717300e6d39ac448 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 17 May 2021 09:59:14 +0200 Subject: nptl: Move pthread_setname_np into libc The symbol was moved using scripts/move-symbol-to-libc.py. Add __libpthread_version_placeholder@@GLIBC_2.12 for the targets that need it. Reviewed-by: Adhemerval Zanella --- nptl/libpthread-compat.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nptl/libpthread-compat.c') diff --git a/nptl/libpthread-compat.c b/nptl/libpthread-compat.c index a0c0102fd8..b1bee36f36 100644 --- a/nptl/libpthread-compat.c +++ b/nptl/libpthread-compat.c @@ -80,6 +80,11 @@ compat_symbol (libpthread, __libpthread_version_placeholder_1, __libpthread_version_placeholder, GLIBC_2_4); #endif +#if SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_13) +compat_symbol (libpthread, __libpthread_version_placeholder_1, + __libpthread_version_placeholder, GLIBC_2_12); +#endif + #if SHLIB_COMPAT (libpthread, GLIBC_2_18, GLIBC_2_19) \ && ABI_libpthread_GLIBC_2_18 != ABI_libpthread_GLIBC_2_0 compat_symbol (libpthread, __libpthread_version_placeholder_1, -- cgit 1.4.1