aboutsummaryrefslogtreecommitdiff
path: root/nptl/libpthread-compat.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-05 19:59:36 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-06 14:36:07 -0300
commit79a547b162657b3fa34d31917cc29f0e7af19e4c (patch)
treefe596690c3323410adab38a762a1cab1f8732705 /nptl/libpthread-compat.c
parent2a0356e1191804d57005e1cfe2a72f019b7a8cce (diff)
downloadglibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.zip
glibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.tar.gz
glibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.tar.bz2
nptl: Move nanosleep implementation to libc
Checked on x86_64-linux-gnu and powerpc64le-linux-gnu. I also checked the libpthread.so .gnu.version_d entries for every ABI affected and all of them contains the required versions (including for architectures which exports __nanosleep with a different version). Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'nptl/libpthread-compat.c')
-rw-r--r--nptl/libpthread-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/libpthread-compat.c b/nptl/libpthread-compat.c
index f1f0e09..7398f5e 100644
--- a/nptl/libpthread-compat.c
+++ b/nptl/libpthread-compat.c
@@ -26,7 +26,7 @@
version or later, the placeholder symbol is not needed because
there are plenty of other symbols which populate those later
versions. */
-#if (SHLIB_COMPAT (libpthread, GLIBC_2_1_2, GLIBC_2_2))
+#if (SHLIB_COMPAT (libpthread, GLIBC_2_1_2, GLIBC_2_2_6))
void
attribute_compat_text_section
__libpthread_version_placeholder (void)