From aa10aa313dd3c0b2aaf659d0005e8506654a84a6 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 22 Sep 2008 22:51:53 +0000 Subject: [PATCH] Avoid endless recursion in uClibc pthreads. SVN-Revision: 12652 --- .../140-fix-endless-recursion-in-pthread.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 toolchain/uClibc/patches/140-fix-endless-recursion-in-pthread.patch 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 00000000000..9a61a40a393 --- /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 -- 2.30.2