aboutsummaryrefslogtreecommitdiff
path: root/nptl/sem_destroy.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:40 +0200
commit4b729cca87ea2f14bcb526588f992cdd931ef362 (patch)
tree00e802d8ab4fe80ed9031c0756d93908c8bf1b51 /nptl/sem_destroy.c
parent0b7d48d1062e4383b4a78e0bb78c5f0f29479780 (diff)
downloadglibc-4b729cca87ea2f14bcb526588f992cdd931ef362.zip
glibc-4b729cca87ea2f14bcb526588f992cdd931ef362.tar.gz
glibc-4b729cca87ea2f14bcb526588f992cdd931ef362.tar.bz2
nptl: Move sem_destroy into libc
The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/sem_destroy.c')
-rw-r--r--nptl/sem_destroy.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/nptl/sem_destroy.c b/nptl/sem_destroy.c
index 3a105e9..fd8f202 100644
--- a/nptl/sem_destroy.c
+++ b/nptl/sem_destroy.c
@@ -29,8 +29,11 @@ __new_sem_destroy (sem_t *sem)
/* Nothing to do. */
return 0;
}
-versioned_symbol (libpthread, __new_sem_destroy, sem_destroy, GLIBC_2_1);
-#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
+versioned_symbol (libc, __new_sem_destroy, sem_destroy, GLIBC_2_34);
+#if OTHER_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
+#if OTHER_SHLIB_COMPAT(libpthread, GLIBC_2_1, GLIBC_2_34)
+compat_symbol (libpthread, __new_sem_destroy, sem_destroy, GLIBC_2_1);
+#endif