From 3ae4dec6b2457d6b831a61a8b7c9babfb9c8c81f Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 9 Apr 2011 15:46:58 +0000
Subject: [PATCH] uClibc: forced unwind for pthread_cancel handling is broken
 and triggers spurious abort() calls from libgcc. disable it and use the other
 method instead

SVN-Revision: 26547
---
 .../uClibc/patches-0.9.32/200-no_forced_unwind.patch   | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch

diff --git a/toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch b/toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch
new file mode 100644
index 0000000000..134f57bba1
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch
@@ -0,0 +1,10 @@
+--- a/Rules.mak
++++ b/Rules.mak
+@@ -639,7 +639,6 @@ endif
+ ifeq ($(UCLIBC_HAS_THREADS),y)
+ ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+ 	PTNAME := nptl
+-	CFLAGS += -DHAVE_FORCED_UNWIND
+ else
+ ifeq ($(LINUXTHREADS_OLD),y)
+ 	PTNAME := linuxthreads.old
-- 
GitLab