aboutsummaryrefslogtreecommitdiff
path: root/nptl/sem_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sem_destroy.c')
-rw-r--r--nptl/sem_destroy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sem_destroy.c b/nptl/sem_destroy.c
index 790a80e316..1c823dc51e 100644
--- a/nptl/sem_destroy.c
+++ b/nptl/sem_destroy.c
@@ -32,3 +32,7 @@ __new_sem_destroy (sem)
return 0;
}
versioned_symbol (libpthread, __new_sem_destroy, sem_destroy, GLIBC_2_1);
+#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
+strong_alias (__new_sem_destroy, __old_sem_destroy)
+compat_symbol (libpthread, __old_sem_destroy, sem_destroy, GLIBC_2_0);
+#endif