aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2008-09-22 22:51:53 +0000
committerLars-Peter Clausen <lars@metafoo.de>2008-09-22 22:51:53 +0000
commitad09ac03c5038a9987eb531144438fd9aed6d020 (patch)
tree21060a1d55e5554ffcd519830916459f0940683d /toolchain/uClibc
parent5e59709c038055c37955877ddb8271c8ed2153fd (diff)
downloadupstream-ad09ac03c5038a9987eb531144438fd9aed6d020.tar.gz
upstream-ad09ac03c5038a9987eb531144438fd9aed6d020.tar.bz2
upstream-ad09ac03c5038a9987eb531144438fd9aed6d020.zip
Avoid endless recursion in uClibc pthreads.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12652 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/patches/140-fix-endless-recursion-in-pthread.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/140-fix-endless-recursion-in-pthread.patch b/toolchain/uClibc/patches/140-fix-endless-recursion-in-pthread.patch
new file mode 100644
index 0000000000..9a61a40a39
--- /dev/null
+++ b/toolchain/uClibc/patches/140-fix-endless-recursion-in-pthread.patch
@@ -0,0 +1,14 @@
+diff -urN uClibc-0.9.29.orig/libpthread/linuxthreads.old/pthread.c uClibc-0.9.29/libpthread/linuxthreads.old/pthread.c
+--- uClibc-0.9.29.orig/libpthread/linuxthreads.old/pthread.c 2008-09-18 06:18:00.000000000 +0200
++++ uClibc-0.9.29/libpthread/linuxthreads.old/pthread.c 2008-09-18 06:19:06.000000000 +0200
+@@ -335,9 +335,9 @@
+ .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