summaryrefslogtreecommitdiff
path: root/hurd/Versions
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-24 23:28:41 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-24 23:28:41 +0200
commit2a370e0c90fd1c0891a2cf9740787899435291f6 (patch)
tree7522ee47cbd9636bb3ad57dc173bd9e3a33f7dcc /hurd/Versions
parent7064d669a103f990d720776838d01d3daad181f3 (diff)
Fix thread linkspace
Libc uses some thread functions, but should not expose the corresponding symbols, so call aliases.
Diffstat (limited to 'hurd/Versions')
-rw-r--r--hurd/Versions6
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/Versions b/hurd/Versions
index c0c621be2c..f734914165 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -127,14 +127,14 @@ libc {
HURD_CTHREADS_0.3 {
# weak refs to libthreads functions that libc calls iff libthreads in use
- cthread_fork; cthread_detach;
- pthread_getattr_np; pthread_attr_getstack;
+ __cthread_fork; __cthread_detach;
+ __pthread_getattr_np; __pthread_attr_getstack;
# variables used for detecting cthreads
_cthread_exit_routine; _cthread_init_routine;
# cthreads functions with stubs in libc
- cthread_keycreate; cthread_getspecific; cthread_setspecific;
+ __cthread_keycreate; __cthread_getspecific; __cthread_setspecific;
__libc_getspecific;
}
}