summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch b/toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch
new file mode 100644
index 0000000000..c967e1b636
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch
@@ -0,0 +1,13 @@
+--- a/libpthread/linuxthreads.old/pthread.c
++++ b/libpthread/linuxthreads.old/pthread.c
+@@ -335,9 +335,9 @@ struct pthread_functions __pthread_funct
+ .ptr_pthread_raise = pthread_raise,
+ .ptr__pthread_cleanup_push = _pthread_cleanup_push,
+ .ptr__pthread_cleanup_pop = _pthread_cleanup_pop
+-*/
+ .ptr__pthread_cleanup_push_defer = _pthread_cleanup_push_defer,
+ .ptr__pthread_cleanup_pop_restore = _pthread_cleanup_pop_restore,
++*/
+ };
+ #ifdef SHARED
+ # define ptr_pthread_functions &__pthread_functions