aboutsummaryrefslogtreecommitdiff
path: root/htl/Versions
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-11 10:35:10 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-11 20:41:25 +0000
commit9cec82de715b3ffc625a6c67d107a3fcb26af566 (patch)
treee66429ab410d9ef1510ac702a39ec439e956742f /htl/Versions
parentd482ebfa67850976485fdf061cd52427eb8a3cb7 (diff)
downloadglibc-9cec82de715b3ffc625a6c67d107a3fcb26af566.zip
glibc-9cec82de715b3ffc625a6c67d107a3fcb26af566.tar.gz
glibc-9cec82de715b3ffc625a6c67d107a3fcb26af566.tar.bz2
htl: Initialize later
Since htl does not actually need a stack switch, we can initialize it like nptl is, avoiding all sorts of startup issues with ifunc. More precisely, htl defines __pthread_initialize_minimal instead of the elder _cthread_init_routine. We can then drop the stack switching dances.
Diffstat (limited to 'htl/Versions')
-rw-r--r--htl/Versions4
1 files changed, 2 insertions, 2 deletions
diff --git a/htl/Versions b/htl/Versions
index 832cc5d..4e23c2e 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -43,8 +43,6 @@ libpthread {
__pthread_mutex_transfer_np;
- _cthread_init_routine;
-
cthread_detach;
cthread_fork;
cthread_keycreate;
@@ -168,6 +166,8 @@ libpthread {
}
GLIBC_PRIVATE {
+ __pthread_initialize_minimal;
+
__shm_directory;
__pthread_threads;