aboutsummaryrefslogtreecommitdiff
path: root/hurd/Versions
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-17 23:53:39 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-17 23:53:39 +0100
commitc2fb08c78ac4716266c4dd7c9b4aa3c33b033d13 (patch)
tree6adb6af6f85b49d4780518f3443e3363e77dcf10 /hurd/Versions
parentdc33bef307ad6eeb1cc4e4e230b69c6058890388 (diff)
downloadglibc-c2fb08c78ac4716266c4dd7c9b4aa3c33b033d13.tar
glibc-c2fb08c78ac4716266c4dd7c9b4aa3c33b033d13.tar.gz
glibc-c2fb08c78ac4716266c4dd7c9b4aa3c33b033d13.tar.bz2
glibc-c2fb08c78ac4716266c4dd7c9b4aa3c33b033d13.zip
hurd: Fix link cthread/pthread symbol exposition.
* hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork, cthread_detach, pthread_getattr_np, pthread_attr_getstack, cthread_keycreate, cthread_getspecific, cthread_setspecific to __cthread_fork, __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific, __cthread_setspecific. * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork, __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack, __cthread_t instead of cthread_fork, cthread_detach, pthread_getattr_np, pthread_attr_getstack. * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to __cthread_keycreate. (cthread_getspecific): Rename to __cthread_getspecific. (cthread_setspecific): Rename to __cthread_setspecific. (__libc_getspecific): Use __cthread_getspecific instead of cthread_getspecific. * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use __cthread_keycreate instead of cthread_keycreate. (__libc_setspecific): Use __cthread_setspecific instead of cthread_setspecific. * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific): Likewise.
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 164aa64400..602391ca08 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -139,14 +139,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;
}
}