summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-09 15:46:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-09 15:46:58 +0000
commit3ae4dec6b2457d6b831a61a8b7c9babfb9c8c81f (patch)
tree4ce86956eff4ce2d8a7f3885a4b613b70218dbbf /toolchain
parent8371085c8b28639be8a72f3bbbea7cc1a1925eb9 (diff)
downloadmtk-20170518-3ae4dec6b2457d6b831a61a8b7c9babfb9c8c81f.zip
mtk-20170518-3ae4dec6b2457d6b831a61a8b7c9babfb9c8c81f.tar.gz
mtk-20170518-3ae4dec6b2457d6b831a61a8b7c9babfb9c8c81f.tar.bz2
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
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch10
1 files changed, 10 insertions, 0 deletions
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 0000000..134f57b
--- /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