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:47 +0200 |
commit | 793042c63c511f5280e960108b2f0b13e115245d (patch) | |
tree | 5c2afbb5a1afd55877a90aba20dd12538af4397d /nptl/sem_post.c | |
parent | 1ae60ae74ff43cf7a28bace42d91cb6281bd50fc (diff) | |
download | glibc-793042c63c511f5280e960108b2f0b13e115245d.zip glibc-793042c63c511f5280e960108b2f0b13e115245d.tar.gz glibc-793042c63c511f5280e960108b2f0b13e115245d.tar.bz2 |
nptl: Move sem_post 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_post.c')
-rw-r--r-- | nptl/sem_post.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nptl/sem_post.c b/nptl/sem_post.c index c888fa6..d56a6ed 100644 --- a/nptl/sem_post.c +++ b/nptl/sem_post.c @@ -76,10 +76,13 @@ __new_sem_post (sem_t *sem) return 0; } -versioned_symbol (libpthread, __new_sem_post, sem_post, GLIBC_2_1); +versioned_symbol (libpthread, __new_sem_post, sem_post, GLIBC_2_34); +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34) +compat_symbol (libpthread, __new_sem_post, sem_post, GLIBC_2_1); +#endif -#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_1) +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_1) int attribute_compat_text_section __old_sem_post (sem_t *sem) |