aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-17 19:21:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-17 19:21:56 +0000
commit07a1106c9118b1319991febf97563d5017899095 (patch)
tree326a503eb905456122f2d6a4253ac89b95ba15f5 /toolchain/uClibc/patches
parent818e6e847c60fbfd21734625dbcb2a2c36b51a92 (diff)
downloadupstream-07a1106c9118b1319991febf97563d5017899095.tar.gz
upstream-07a1106c9118b1319991febf97563d5017899095.tar.bz2
upstream-07a1106c9118b1319991febf97563d5017899095.zip
uclibc: fix the new libpthread implementation on arm
SVN-Revision: 14074
Diffstat (limited to 'toolchain/uClibc/patches')
-rw-r--r--toolchain/uClibc/patches/220-libpthread_arm.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/220-libpthread_arm.patch b/toolchain/uClibc/patches/220-libpthread_arm.patch
new file mode 100644
index 0000000000..c7a71cac34
--- /dev/null
+++ b/toolchain/uClibc/patches/220-libpthread_arm.patch
@@ -0,0 +1,27 @@
+--- /dev/null
++++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
+@@ -0,0 +1,24 @@
++/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
++ This file is part of the GNU C Library.
++ Contributed by Guido Guenther <agx@sigxcpu.org>, 2003.
++
++ The GNU C Library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License as published by the Free Software Foundation; either
++ version 2.1 of the License, or (at your option) any later version.
++
++ The GNU C Library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ Lesser General Public License for more details.
++
++ You should have received a copy of the GNU Lesser General Public
++ License along with the GNU C Library; if not, write to the Free
++ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
++ 02111-1307 USA. */
++
++#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
++
++# define SINGLE_THREAD_P (1)
++
++#endif