diff mbox series

[hurd,commited] htl: Add missing symbols

Message ID 20201203095022.1740713-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] htl: Add missing symbols | expand

Commit Message

Samuel Thibault Dec. 3, 2020, 9:50 a.m. UTC
hurd/hurdsig.c needs to detect whether __pthread_detach and
__pthread_create are available, so they need to be exposed.
---
 htl/Versions  | 2 ++
 hurd/Versions | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

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