diff options
Diffstat (limited to 'nptl/pthread_getspecific.c')
-rw-r--r-- | nptl/pthread_getspecific.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nptl/pthread_getspecific.c b/nptl/pthread_getspecific.c index 0bee354817..b68395f86f 100644 --- a/nptl/pthread_getspecific.c +++ b/nptl/pthread_getspecific.c @@ -66,3 +66,13 @@ __pthread_getspecific (key) } strong_alias (__pthread_getspecific, pthread_getspecific) hidden_def (__pthread_getspecific) + +#ifdef SHARED +# include <shlib-compat.h> +strong_alias (__pthread_getspecific, __pthread_getspecific_2_0) +strong_alias (__pthread_getspecific, __pthread_getspecific_private) +compat_symbol (libpthread, __pthread_getspecific_2_0, + __pthread_getspecific, GLIBC_2_0); +compat_symbol (libpthread, __pthread_getspecific_private, + __pthread_getspecific, GLIBC_PRIVATE); +#endif |