patches/binutils/2.20.1a/120-sh-targets.patch
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Mon Apr 16 15:25:36 2012 +0200 (2012-04-16)
changeset 2941 13e40098fffc
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
cc/gcc: update Linaro GCC revisions to 2012.04

Update Linaro GCC with the latest available revisions.

The 4.7 revision is also released, but the infrastructure is not yet ready for
it in CT-NG.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
     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