aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches
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
commit2d2179f503930a0f04673205a97161f015cf42c9 (patch)
treeaec3aa108729cf194c136832fe37ae219dcff795 /toolchain/uClibc/patches
parent5d434d99598e0f50e031102dc7618849f2f4bc19 (diff)
downloadupstream-2d2179f503930a0f04673205a97161f015cf42c9.tar.gz
upstream-2d2179f503930a0f04673205a97161f015cf42c9.tar.bz2
upstream-2d2179f503930a0f04673205a97161f015cf42c9.zip
rename the xscale target to ixp4xx for the forthcoming iop target, add gcc 4.1 patch for arm
SVN-Revision: 5310
Diffstat (limited to 'toolchain/uClibc/patches')
-rw-r--r--toolchain/uClibc/patches/170-arm_gcc41.patch13
1 files changed, 13 insertions, 0 deletions
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;
+ }