about summary refs log tree commit diff
path: root/nptl/libpthread-compat.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-05 17:15:57 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-05 17:19:35 +0200
commit19cc20ef2e8b9e09429741a3108e55c50758a273 (patch)
treeb59c159eb256c08c4546a2c8d095f590ed31d1fd /nptl/libpthread-compat.c
parentce0b7961ae400e5aeff28d54dc14955199947b74 (diff)
downloadglibc-19cc20ef2e8b9e09429741a3108e55c50758a273.tar.gz
glibc-19cc20ef2e8b9e09429741a3108e55c50758a273.tar.xz
glibc-19cc20ef2e8b9e09429741a3108e55c50758a273.zip
nptl: Move sem_clockwait into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

A new placeholder version is added at version GLIBC_2.30, to
preserve that version in libpthread.so.0.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/libpthread-compat.c')
-rw-r--r--nptl/libpthread-compat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nptl/libpthread-compat.c b/nptl/libpthread-compat.c
index 761ca8d41c..7b0427aaed 100644
--- a/nptl/libpthread-compat.c
+++ b/nptl/libpthread-compat.c
@@ -60,3 +60,8 @@ compat_symbol (libpthread, __libpthread_version_placeholder_1,
 compat_symbol (libpthread, __libpthread_version_placeholder_1,
 	       __libpthread_version_placeholder, GLIBC_2_4);
 #endif
+
+#if (SHLIB_COMPAT (libpthread, GLIBC_2_30, GLIBC_2_31))
+compat_symbol (libpthread, __libpthread_version_placeholder_1,
+	       __libpthread_version_placeholder, GLIBC_2_30);
+#endif