about summary refs log tree commit diff
path: root/sysdeps/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-03 12:21:47 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-03 12:21:47 +0100
commit7c331116971d38e57703af4097ed13ab6bef91d0 (patch)
tree24f7da37f17c5d4b012cf5fa2c563222b41880e0 /sysdeps/htl
parente960d8313dfc0856b76f764c2b22749caf864974 (diff)
downloadglibc-7c331116971d38e57703af4097ed13ab6bef91d0.tar.gz
glibc-7c331116971d38e57703af4097ed13ab6bef91d0.tar.xz
glibc-7c331116971d38e57703af4097ed13ab6bef91d0.zip
htl: Add hidden def for __pthread_create/detach
to avoid a PLT.
Diffstat (limited to 'sysdeps/htl')
-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 0eb969ea1a..bf00f7d2f0 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -97,6 +97,8 @@ int __pthread_attr_getstack (const pthread_attr_t *, void **, size_t *);
 void __pthread_testcancel (void);
 
 #if IS_IN (libpthread)
+hidden_proto (__pthread_create)
+hidden_proto (__pthread_detach)
 hidden_proto (__pthread_key_create)
 hidden_proto (__pthread_getspecific)
 hidden_proto (__pthread_setspecific)