rename the xscale target to ixp4xx for the forthcoming iop target, add gcc 4.1 patch...
[openwrt-10.03/.git] / toolchain / uClibc / patches / 170-arm_gcc41.patch
1 diff -ur uClibc-0.9.28/ldso/include/dl-string.h uClibc-0.9.28-owrt/ldso/include/dl-string.h
2 --- uClibc-0.9.28/ldso/include/dl-string.h      2005-08-18 00:49:41.000000000 +0200
3 +++ uClibc-0.9.28-owrt/ldso/include/dl-string.h 2006-09-11 11:42:08.000000000 +0200
4 @@ -228,7 +228,8 @@
5             char temp;
6             do_rem(temp, i, 10);
7             *--p = '0' + temp;
8 -           i /= 10;
9 +           i /= 2;
10 +           i *= -(-1ul / 5ul);
11         } while (i > 0);
12         return p;
13  }