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