diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:15:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:19:50 +0200 |
commit | 990c8ffd3a83232365f346413e394d4431875899 (patch) | |
tree | 24b41f70bcee7f885eca1d8ff50f44f0b0aea9e1 /nptl/libpthread-compat.c | |
parent | 018c75dcb1ee93f3ff0d3d9cbdf1fe48aa630315 (diff) | |
download | glibc-990c8ffd3a83232365f346413e394d4431875899.tar.gz glibc-990c8ffd3a83232365f346413e394d4431875899.tar.xz glibc-990c8ffd3a83232365f346413e394d4431875899.zip |
nptl: Move sem_unlink into libc
The symbol was moved using scripts/move-symbol-to-libc.py. A small adjust to the sem_unlink implementation is necessary to avoid a check-localplt failure. A placeholder symbol to keep the GLIBC_2.1.1 version alive in libpthread is added with this commit. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/libpthread-compat.c')
-rw-r--r-- | nptl/libpthread-compat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/libpthread-compat.c b/nptl/libpthread-compat.c index 7b0427aaed..401fa6ad34 100644 --- a/nptl/libpthread-compat.c +++ b/nptl/libpthread-compat.c @@ -36,6 +36,10 @@ __libpthread_version_placeholder_1 (void) 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_1, GLIBC_2_1_2)) +compat_symbol (libpthread, __libpthread_version_placeholder_1, + __libpthread_version_placeholder, GLIBC_2_1_1); +#endif #if (SHLIB_COMPAT (libpthread, GLIBC_2_1_2, GLIBC_2_2)) compat_symbol (libpthread, __libpthread_version_placeholder_1, __libpthread_version_placeholder, GLIBC_2_1_2); |