diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-11 19:32:43 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-11 19:33:11 +0200 |
commit | fb7abc3441d7cb1970ae51cf546315ee43e3fb74 (patch) | |
tree | aebdf636531126ffef86833fc64df79889849a91 /nptl/pthread_attr_getstack.c | |
parent | b5668f08ea2d6fa9dbb5046e2aee341d33d7cf13 (diff) | |
download | glibc-fb7abc3441d7cb1970ae51cf546315ee43e3fb74.zip glibc-fb7abc3441d7cb1970ae51cf546315ee43e3fb74.tar.gz glibc-fb7abc3441d7cb1970ae51cf546315ee43e3fb74.tar.bz2 |
nptl: Move pthread_attr_getstack 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/pthread_attr_getstack.c')
-rw-r--r-- | nptl/pthread_attr_getstack.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nptl/pthread_attr_getstack.c b/nptl/pthread_attr_getstack.c index 570115a..351aa4d 100644 --- a/nptl/pthread_attr_getstack.c +++ b/nptl/pthread_attr_getstack.c @@ -17,7 +17,7 @@ <https://www.gnu.org/licenses/>. */ #include "pthreadP.h" - +#include <shlib-compat.h> int __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr, @@ -37,4 +37,9 @@ __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr, return 0; } -strong_alias (__pthread_attr_getstack, pthread_attr_getstack) +versioned_symbol (libpthread, __pthread_attr_getstack, + pthread_attr_getstack, GLIBC_2_34); +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34) +compat_symbol (libpthread, __pthread_attr_getstack, + pthread_attr_getstack, GLIBC_2_2); +#endif |