patches/binutils/2.20.1a/120-sh-targets.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Fri Nov 18 15:29:18 2011 +0800 (2011-11-18)
changeset 2778 986e1c75432a
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
config/toolchain: Add "Enable nls" in "Toolchain options".

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
     1 
     2 
     3 diff -durN binutils-2.20.1.orig/configure binutils-2.20.1/configure
     4 --- binutils-2.20.1.orig/configure	2010-08-17 19:32:05.000000000 +0200
     5 +++ binutils-2.20.1/configure	2010-08-17 19:32:07.000000000 +0200
     6 @@ -3054,7 +3054,7 @@
     7    am33_2.0-*-linux*)
     8      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
     9      ;;
    10 -  sh-*-linux*)
    11 +  sh*-*-linux*)
    12      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    13      ;;
    14    sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    15 @@ -3390,7 +3390,7 @@
    16    romp-*-*)
    17      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    18      ;;
    19 -  sh-*-* | sh64-*-*)
    20 +  sh*-*-* | sh64-*-*)
    21      case "${host}" in
    22        i[3456789]86-*-vsta) ;; # don't add gprof back in
    23        i[3456789]86-*-go32*) ;; # don't add gprof back in
    24 diff -durN binutils-2.20.1.orig/configure.ac binutils-2.20.1/configure.ac
    25 --- binutils-2.20.1.orig/configure.ac	2010-03-03 15:19:08.000000000 +0100
    26 +++ binutils-2.20.1/configure.ac	2010-08-17 19:32:07.000000000 +0200
    27 @@ -541,7 +541,7 @@
    28    am33_2.0-*-linux*)
    29      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    30      ;;
    31 -  sh-*-linux*)
    32 +  sh*-*-linux*)
    33      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    34      ;;    
    35    sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    36 @@ -877,7 +877,7 @@
    37    romp-*-*)
    38      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    39      ;;
    40 -  sh-*-* | sh64-*-*)
    41 +  sh*-*-* | sh64-*-*)
    42      case "${host}" in
    43        i[[3456789]]86-*-vsta) ;; # don't add gprof back in
    44        i[[3456789]]86-*-go32*) ;; # don't add gprof back in