This is actually needed before we make pthread_cancel available in libc.
---
htl/Makefile | 2 +-
htl/Versions | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/htl/Makefile b/htl/Makefile
index 9fde4174bb..f841b33b51 100644
--- a/htl/Makefile
+++ b/htl/Makefile
@@ -33,7 +33,6 @@ libpthread-routines := \
pt-spin \
pt-getname-np \
pt-setname-np \
- cancellation \
# libpthread-routine
headers := \
@@ -67,6 +66,7 @@ distribute :=
routines := \
alloca_cutoff \
+ cancellation \
htlfreeres \
pt-alloc \
pt-attr \
diff --git a/htl/Versions b/htl/Versions
index 349ab4fe4b..280459c2a6 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -265,6 +265,8 @@ libc {
__pthread_dealloc;
__pthread_dealloc_finish;
__pthread_setcancelstate;
+ __pthread_enable_asynccancel;
+ __pthread_disable_asynccancel;
__pthread_cond_broadcast;
__pthread_cond_destroy;
__pthread_cond_init;
@@ -345,7 +347,5 @@ libpthread {
__pthread_initialize_minimal;
__pthread_create;
- __pthread_enable_asynccancel;
- __pthread_disable_asynccancel;
}
}
--
2.51.0