about summary refs log tree commit diff
path: root/nptl/libpthread-compat.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-23 09:48:36 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-23 09:51:57 +0200
commit1ec4cd5ab42d6b16a81176b7051384a2221159e3 (patch)
tree0e3258f9d5151dab707ac94ad5bc443ae0bea183 /nptl/libpthread-compat.c
parent0bdd79794526114313135c528969bb25be88c1a3 (diff)
downloadglibc-1ec4cd5ab42d6b16a81176b7051384a2221159e3.tar.gz
glibc-1ec4cd5ab42d6b16a81176b7051384a2221159e3.tar.xz
glibc-1ec4cd5ab42d6b16a81176b7051384a2221159e3.zip
nptl: Move pthread_mutexattr_setrobust into libc
And pthread_mutexattr_getrobust_np as a compat symbol.

The symbols were moved using scripts/move-symbol-to-libc.py.
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 359a38173d..761ca8d41c 100644
--- a/nptl/libpthread-compat.c
+++ b/nptl/libpthread-compat.c
@@ -55,3 +55,8 @@ compat_symbol (libpthread, __libpthread_version_placeholder_1,
 compat_symbol (libpthread, __libpthread_version_placeholder_1,
 	       __libpthread_version_placeholder, GLIBC_2_3_2);
 #endif
+
+#if (SHLIB_COMPAT (libpthread, GLIBC_2_4, GLIBC_2_5))
+compat_symbol (libpthread, __libpthread_version_placeholder_1,
+	       __libpthread_version_placeholder, GLIBC_2_4);
+#endif