patches/binutils/2.20.1/120-sh-targets.patch
changeset 2088 4f21ba5f8e91
parent 1621 60446d2e5660
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/binutils/2.20.1/120-sh-targets.patch	Tue Aug 17 19:48:49 2010 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +
     1.5 +
     1.6 +diff -durN binutils-2.20.1.orig/configure binutils-2.20.1/configure
     1.7 +--- binutils-2.20.1.orig/configure	2010-08-17 19:32:05.000000000 +0200
     1.8 ++++ binutils-2.20.1/configure	2010-08-17 19:32:07.000000000 +0200
     1.9 +@@ -3054,7 +3054,7 @@
    1.10 +   am33_2.0-*-linux*)
    1.11 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.12 +     ;;
    1.13 +-  sh-*-linux*)
    1.14 ++  sh*-*-linux*)
    1.15 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.16 +     ;;
    1.17 +   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    1.18 +@@ -3390,7 +3390,7 @@
    1.19 +   romp-*-*)
    1.20 +     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    1.21 +     ;;
    1.22 +-  sh-*-* | sh64-*-*)
    1.23 ++  sh*-*-* | sh64-*-*)
    1.24 +     case "${host}" in
    1.25 +       i[3456789]86-*-vsta) ;; # don't add gprof back in
    1.26 +       i[3456789]86-*-go32*) ;; # don't add gprof back in
    1.27 +diff -durN binutils-2.20.1.orig/configure.ac binutils-2.20.1/configure.ac
    1.28 +--- binutils-2.20.1.orig/configure.ac	2010-03-03 15:19:08.000000000 +0100
    1.29 ++++ binutils-2.20.1/configure.ac	2010-08-17 19:32:07.000000000 +0200
    1.30 +@@ -541,7 +541,7 @@
    1.31 +   am33_2.0-*-linux*)
    1.32 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.33 +     ;;
    1.34 +-  sh-*-linux*)
    1.35 ++  sh*-*-linux*)
    1.36 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.37 +     ;;    
    1.38 +   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    1.39 +@@ -877,7 +877,7 @@
    1.40 +   romp-*-*)
    1.41 +     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    1.42 +     ;;
    1.43 +-  sh-*-* | sh64-*-*)
    1.44 ++  sh*-*-* | sh64-*-*)
    1.45 +     case "${host}" in
    1.46 +       i[[3456789]]86-*-vsta) ;; # don't add gprof back in
    1.47 +       i[[3456789]]86-*-go32*) ;; # don't add gprof back in