patches/binutils/2.21.1a/120-sh-conf.patch
changeset 2665 5b7e91ec300c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/binutils/2.21.1a/120-sh-conf.patch	Sun Sep 11 19:54:57 2011 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +diff -durN binutils-2.21.1.orig/configure binutils-2.21.1/configure
     1.5 +--- binutils-2.21.1.orig/configure	2011-09-12 13:39:06.292251293 +0200
     1.6 ++++ binutils-2.21.1/configure	2011-09-12 13:39:07.135581381 +0200
     1.7 +@@ -3148,7 +3148,7 @@
     1.8 +   am33_2.0-*-linux*)
     1.9 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.10 +     ;;
    1.11 +-  sh-*-linux*)
    1.12 ++  sh*-*-linux*)
    1.13 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.14 +     ;;
    1.15 +   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    1.16 +@@ -3487,7 +3487,7 @@
    1.17 +   romp-*-*)
    1.18 +     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    1.19 +     ;;
    1.20 +-  sh-*-* | sh64-*-*)
    1.21 ++  sh*-*-* | sh64-*-*)
    1.22 +     case "${host}" in
    1.23 +       i[3456789]86-*-vsta) ;; # don't add gprof back in
    1.24 +       i[3456789]86-*-go32*) ;; # don't add gprof back in
    1.25 +diff -durN binutils-2.21.1.orig/configure.ac binutils-2.21.1/configure.ac
    1.26 +--- binutils-2.21.1.orig/configure.ac	2011-09-12 13:39:06.308917895 +0200
    1.27 ++++ binutils-2.21.1/configure.ac	2011-09-12 13:39:07.145581342 +0200
    1.28 +@@ -620,7 +620,7 @@
    1.29 +   am33_2.0-*-linux*)
    1.30 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.31 +     ;;
    1.32 +-  sh-*-linux*)
    1.33 ++  sh*-*-linux*)
    1.34 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.35 +     ;;    
    1.36 +   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    1.37 +@@ -959,7 +959,7 @@
    1.38 +   romp-*-*)
    1.39 +     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    1.40 +     ;;
    1.41 +-  sh-*-* | sh64-*-*)
    1.42 ++  sh*-*-* | sh64-*-*)
    1.43 +     case "${host}" in
    1.44 +       i[[3456789]]86-*-vsta) ;; # don't add gprof back in
    1.45 +       i[[3456789]]86-*-go32*) ;; # don't add gprof back in