diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-09 01:26:19 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-09 01:28:55 +0200 |
commit | 8ac0f9e6f742dba698dc2ae0461f76a4b46a7971 (patch) | |
tree | 2858bb42f02e3272270b362e466a6f32aaf7886a /sysdeps/htl/pt-getspecific.c | |
parent | be64b1946b47087fda2e48cfba759cbb4fdfaada (diff) | |
download | glibc-8ac0f9e6f742dba698dc2ae0461f76a4b46a7971.tar.gz glibc-8ac0f9e6f742dba698dc2ae0461f76a4b46a7971.tar.xz glibc-8ac0f9e6f742dba698dc2ae0461f76a4b46a7971.zip |
hurd: Avoid PLTs for __pthread_get/setspecific
* sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific, __pthread_setspecific): Add hidden proto. * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def. * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
Diffstat (limited to 'sysdeps/htl/pt-getspecific.c')
-rw-r--r-- | sysdeps/htl/pt-getspecific.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/htl/pt-getspecific.c b/sysdeps/htl/pt-getspecific.c index a0227a67f6..64ddf9551a 100644 --- a/sysdeps/htl/pt-getspecific.c +++ b/sysdeps/htl/pt-getspecific.c @@ -36,3 +36,4 @@ __pthread_getspecific (pthread_key_t key) return self->thread_specifics[key]; } strong_alias (__pthread_getspecific, pthread_getspecific); +hidden_def (__pthread_getspecific) |