aboutsummaryrefslogtreecommitdiff
path: root/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 /htl
parente960d8313dfc0856b76f764c2b22749caf864974 (diff)
downloadglibc-7c331116971d38e57703af4097ed13ab6bef91d0.zip
glibc-7c331116971d38e57703af4097ed13ab6bef91d0.tar.gz
glibc-7c331116971d38e57703af4097ed13ab6bef91d0.tar.bz2
htl: Add hidden def for __pthread_create/detach
to avoid a PLT.
Diffstat (limited to 'htl')
-rw-r--r--htl/pt-create.c1
-rw-r--r--htl/pt-detach.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/htl/pt-create.c b/htl/pt-create.c
index 9364c40..fc2f8d4 100644
--- a/htl/pt-create.c
+++ b/htl/pt-create.c
@@ -97,6 +97,7 @@ __pthread_create (pthread_t * thread, const pthread_attr_t * attr,
return err;
}
weak_alias (__pthread_create, pthread_create)
+hidden_def (__pthread_create)
/* Internal version of pthread_create. See comment in
pt-internal.h. */
diff --git a/htl/pt-detach.c b/htl/pt-detach.c
index 1755606..e842a3d 100644
--- a/htl/pt-detach.c
+++ b/htl/pt-detach.c
@@ -78,3 +78,4 @@ __pthread_detach (pthread_t thread)
return err;
}
weak_alias (__pthread_detach, pthread_detach)
+hidden_def (__pthread_detach)