Get rid of all `command` (which is a bashism), and replace them with $(command), which is POSIX.
Get rid of all remaining \"text\" in log messages and replace them with 'text'.
Optimise the progress bar, should go un-noticed at log level DEBUG and below.
/trunk/scripts/build/tools/200-sstrip.sh | 16 8 8 0 ++--
/trunk/scripts/build/libc_glibc.sh | 50 25 25 0 +++++++-------
/trunk/scripts/build/libc_uClibc.sh | 4 2 2 0
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0
/trunk/scripts/build/debug/300-gdb.sh | 8 4 4 0 +-
/trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +-
/trunk/scripts/build/kernel_linux.sh | 30 15 15 0 ++++----
/trunk/scripts/build/cc_gcc.sh | 14 7 7 0 ++--
/trunk/scripts/crosstool.sh | 54 27 27 0 ++++++++--------
/trunk/scripts/functions | 128 64 64 0 ++++++++++++++++++------------------
/trunk/scripts/saveSample.sh | 4 2 2 0
/trunk/scripts/tarball.sh.broken | 20 10 10 0 +++---
/trunk/tools/addToolVersion.sh | 8 4 4 0 +-
/trunk/tools/populate.in | 18 9 9 0 ++--
15 files changed, 182 insertions(+), 182 deletions(-)
1 diff -durN gcc-3.4.6.orig/gcc/config/arm/arm.c gcc-3.4.6/gcc/config/arm/arm.c
2 --- gcc-3.4.6.orig/gcc/config/arm/arm.c 2007-08-15 22:57:51.000000000 +0200
3 +++ gcc-3.4.6/gcc/config/arm/arm.c 2007-08-15 22:57:51.000000000 +0200
6 adjacent_mem_locations (rtx a, rtx b)
8 + /* We don't guarantee to preserve the order of these memory refs. */
9 + if (volatile_refs_p (a) || volatile_refs_p (b))
12 if ((GET_CODE (XEXP (a, 0)) == REG
13 || (GET_CODE (XEXP (a, 0)) == PLUS
14 && GET_CODE (XEXP (XEXP (a, 0), 1)) == CONST_INT))
15 @@ -4611,6 +4615,17 @@
18 val_diff = val1 - val0;
22 + /* If the target has load delay slots, then there's no benefit
23 + to using an ldm instruction unless the offset is zero and
24 + we are optimizing for size. */
25 + return (optimize_size && (REGNO (reg0) == REGNO (reg1))
26 + && (val0 == 0 || val1 == 0 || val0 == 4 || val1 == 4)
27 + && (val_diff == 4 || val_diff == -4));
30 return ((REGNO (reg0) == REGNO (reg1))
31 && (val_diff == 4 || val_diff == -4));