patches/binutils/2.20/120-sh-targets.patch
changeset 1614 3f76cdbceb6e
child 1621 60446d2e5660
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/binutils/2.20/120-sh-targets.patch	Tue Oct 27 20:06:46 2009 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
     1.5 +
     1.6 +Likewise, binutils has no idea about any of these new targets either, so we 
     1.7 +fix that up too.. now we're able to actually build a real toolchain for 
     1.8 +sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more 
     1.9 +inept targets than that one, really. Go look, I promise).
    1.10 +
    1.11 +--- binutils-2.16.90.0.2-dist/configure
    1.12 ++++ binutils-2.16.90.0.2/configure
    1.13 +@@ -1207,7 +1207,7 @@
    1.14 +   am33_2.0-*-linux*)
    1.15 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.16 +     ;;
    1.17 +-  sh-*-linux*)
    1.18 ++  sh*-*-linux*)
    1.19 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.20 +     ;;    
    1.21 +   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    1.22 +@@ -1495,7 +1495,7 @@
    1.23 +   romp-*-*)
    1.24 +     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    1.25 +     ;;
    1.26 +-  sh-*-* | sh64-*-*)
    1.27 ++  sh*-*-* | sh64-*-*)
    1.28 +     case "${host}" in
    1.29 +       i[3456789]86-*-vsta) ;; # don't add gprof back in
    1.30 +       i[3456789]86-*-go32*) ;; # don't add gprof back in
    1.31 +--- binutils-2.16.90.0.2-dist/configure.ac
    1.32 ++++ binutils-2.16.90.0.2/configure.ac
    1.33 +@@ -424,7 +424,7 @@
    1.34 +   am33_2.0-*-linux*)
    1.35 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.36 +     ;;
    1.37 +-  sh-*-linux*)
    1.38 ++  sh*-*-linux*)
    1.39 +     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1.40 +     ;;    
    1.41 +   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    1.42 +@@ -712,7 +712,7 @@
    1.43 +   romp-*-*)
    1.44 +     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    1.45 +     ;;
    1.46 +-  sh-*-* | sh64-*-*)
    1.47 ++  sh*-*-* | sh64-*-*)
    1.48 +     case "${host}" in
    1.49 +       i[[3456789]]86-*-vsta) ;; # don't add gprof back in
    1.50 +       i[[3456789]]86-*-go32*) ;; # don't add gprof back in