about summary refs log tree commit diff
path: root/sysdeps/htl/pthreadP.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-08-09 01:26:19 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-08-09 01:28:55 +0200
commit8ac0f9e6f742dba698dc2ae0461f76a4b46a7971 (patch)
tree2858bb42f02e3272270b362e466a6f32aaf7886a /sysdeps/htl/pthreadP.h
parentbe64b1946b47087fda2e48cfba759cbb4fdfaada (diff)
downloadglibc-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/pthreadP.h')
-rw-r--r--sysdeps/htl/pthreadP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h
index 132ac1718e..71c2fcd9c6 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -68,6 +68,8 @@ struct __pthread_cancelation_handler **___pthread_get_cleanup_stack (void) attri
 
 #if IS_IN (libpthread)
 hidden_proto (__pthread_key_create)
+hidden_proto (__pthread_getspecific)
+hidden_proto (__pthread_setspecific)
 hidden_proto (_pthread_mutex_init)
 #endif