aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-10-27 10:26:00 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-10-27 10:26:00 +0000
commitf8aa6c7c8f3af42341da4747e227e2dbdb1bf6f8 (patch)
tree3452076d913f8bac995f158c9184a79fd5755f5d /toolchain
parent50525d647065b48db63eb738aa5eab4379d6fbe2 (diff)
downloadupstream-f8aa6c7c8f3af42341da4747e227e2dbdb1bf6f8.tar.gz
upstream-f8aa6c7c8f3af42341da4747e227e2dbdb1bf6f8.tar.bz2
upstream-f8aa6c7c8f3af42341da4747e227e2dbdb1bf6f8.zip
rename the xscale target to ixp4xx for the forthcoming iop target, add gcc 4.1 patch for arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5310 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Config.version4
-rw-r--r--toolchain/uClibc/patches/170-arm_gcc41.patch13
2 files changed, 14 insertions, 3 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index af5e102807..f4d71971a6 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -12,9 +12,7 @@ config GCC_VERSION
if !TOOLCHAINOPTS
config GCC_VERSION_4_1_1
- default y if LINUX_2_6_ARUBA || LINUX_2_6_X86 || LINUX_2_6_RB532
- config GCC_VERSION_4_0_3
- default y if LINUX_2_6_XSCALE
+ default y if LINUX_2_6_ARUBA || LINUX_2_6_X86 || LINUX_2_6_RB532 || LINUX_2_6_IXP4XX
endif
diff --git a/toolchain/uClibc/patches/170-arm_gcc41.patch b/toolchain/uClibc/patches/170-arm_gcc41.patch
new file mode 100644
index 0000000000..795efbd2df
--- /dev/null
+++ b/toolchain/uClibc/patches/170-arm_gcc41.patch
@@ -0,0 +1,13 @@
+diff -ur uClibc-0.9.28/ldso/include/dl-string.h uClibc-0.9.28-owrt/ldso/include/dl-string.h
+--- uClibc-0.9.28/ldso/include/dl-string.h 2005-08-18 00:49:41.000000000 +0200
++++ uClibc-0.9.28-owrt/ldso/include/dl-string.h 2006-09-11 11:42:08.000000000 +0200
+@@ -228,7 +228,8 @@
+ char temp;
+ do_rem(temp, i, 10);
+ *--p = '0' + temp;
+- i /= 10;
++ i /= 2;
++ i *= -(-1ul / 5ul);
+ } while (i > 0);
+ return p;
+ }