1.1 --- a/patches/binutils/2.19/120-sh-targets.patch Sun Sep 11 18:28:45 2011 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,52 +0,0 @@
1.4 -Original patch from Gentoo:
1.5 -gentoo/src/patchsets/binutils/2.19/12_all_sh-targets.patch
1.6 -
1.7 -r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
1.8 -
1.9 -Likewise, binutils has no idea about any of these new targets either, so we
1.10 -fix that up too.. now we're able to actually build a real toolchain for
1.11 -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
1.12 -inept targets than that one, really. Go look, I promise).
1.13 -
1.14 -diff -durN binutils-2.19.orig/configure binutils-2.19/configure
1.15 ---- binutils-2.19.orig/configure 2008-11-23 16:23:44.000000000 +0100
1.16 -+++ binutils-2.19/configure 2008-11-23 16:23:57.000000000 +0100
1.17 -@@ -2281,7 +2281,7 @@
1.18 - am33_2.0-*-linux*)
1.19 - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.20 - ;;
1.21 -- sh-*-linux*)
1.22 -+ sh*-*-linux*)
1.23 - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.24 - ;;
1.25 - sh*-*-pe|mips*-*-pe|*arm-wince-pe)
1.26 -@@ -2606,7 +2606,7 @@
1.27 - romp-*-*)
1.28 - noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
1.29 - ;;
1.30 -- sh-*-* | sh64-*-*)
1.31 -+ sh*-*-* | sh64-*-*)
1.32 - case "${host}" in
1.33 - i[3456789]86-*-vsta) ;; # don't add gprof back in
1.34 - i[3456789]86-*-go32*) ;; # don't add gprof back in
1.35 -diff -durN binutils-2.19.orig/configure.ac binutils-2.19/configure.ac
1.36 ---- binutils-2.19.orig/configure.ac 2008-10-16 15:45:42.000000000 +0200
1.37 -+++ binutils-2.19/configure.ac 2008-11-23 16:23:57.000000000 +0100
1.38 -@@ -530,7 +530,7 @@
1.39 - am33_2.0-*-linux*)
1.40 - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.41 - ;;
1.42 -- sh-*-linux*)
1.43 -+ sh*-*-linux*)
1.44 - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.45 - ;;
1.46 - sh*-*-pe|mips*-*-pe|*arm-wince-pe)
1.47 -@@ -855,7 +855,7 @@
1.48 - romp-*-*)
1.49 - noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
1.50 - ;;
1.51 -- sh-*-* | sh64-*-*)
1.52 -+ sh*-*-* | sh64-*-*)
1.53 - case "${host}" in
1.54 - i[[3456789]]86-*-vsta) ;; # don't add gprof back in
1.55 - i[[3456789]]86-*-go32*) ;; # don't add gprof back in