about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-03 10:48:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-03 10:48:27 +0100
commitf9ba73d056721ff61160a46438fd8ebf11d9aeee (patch)
tree8681e4faf36f120e38ff93a6328927b7b702211b
parentf147616d6891a3726ff39b7c3bc1539c86667626 (diff)
downloadglibc-f9ba73d056721ff61160a46438fd8ebf11d9aeee.tar.gz
glibc-f9ba73d056721ff61160a46438fd8ebf11d9aeee.tar.xz
glibc-f9ba73d056721ff61160a46438fd8ebf11d9aeee.zip
htl: Add missing symbols
hurd/hurdsig.c needs to detect whether __pthread_detach and
__pthread_create are available, so they need to be exposed.
-rw-r--r--htl/Versions2
-rw-r--r--hurd/Versions2
2 files changed, 3 insertions, 1 deletions
diff --git a/htl/Versions b/htl/Versions
index 4e23c2ed64..95496297e3 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -173,6 +173,8 @@ libpthread {
 
     __cthread_detach;
     __cthread_fork;
+    __pthread_detach;
+    __pthread_create;
     __cthread_keycreate;
     __cthread_getspecific;
     __cthread_setspecific;
diff --git a/hurd/Versions b/hurd/Versions
index aa27f0f098..f37e359ac8 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -140,7 +140,7 @@ libc {
 
   HURD_CTHREADS_0.3 {
     # weak refs to libthreads functions that libc calls iff libthreads in use
-    __cthread_fork; __cthread_detach;
+    __cthread_fork; __pthread_create; __cthread_detach; __pthread_detach;
     __pthread_getattr_np; __pthread_attr_getstack;
 
     # cthreads functions with stubs in libc