about summary refs log tree commit diff
path: root/nptl/sem_getvalue.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sem_getvalue.c')
-rw-r--r--nptl/sem_getvalue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sem_getvalue.c b/nptl/sem_getvalue.c
index ee976c3fb6..6bc7ea82b4 100644
--- a/nptl/sem_getvalue.c
+++ b/nptl/sem_getvalue.c
@@ -36,3 +36,7 @@ __new_sem_getvalue (sem, sval)
   return 0;
 }
 versioned_symbol (libpthread, __new_sem_getvalue, sem_getvalue, GLIBC_2_1);
+#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
+strong_alias (__new_sem_getvalue, __old_sem_getvalue)
+compat_symbol (libpthread, __old_sem_getvalue, sem_getvalue, GLIBC_2_0);
+#endif