summaryrefslogtreecommitdiff
path: root/patches/binutils/2.19.1/120-sh-targets.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-08 11:14:03 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-08 11:14:03 (GMT)
commit5e2f711dbfa4c50335abe1247991a941cd7e418c (patch)
tree85dce724c6f76cea2f9f52d900a15dfb727174bc /patches/binutils/2.19.1/120-sh-targets.patch
parent6343b71e2556c0c2e27b45f0cb50c94a98a773e2 (diff)
Add binutils-2.19.1 patchset, propagated from the 2.19 patchset.
/trunk/patches/binutils/2.19.1/120-sh-targets.patch | 57 57 0 0 +++ /trunk/patches/binutils/2.19.1/170-use-relro.patch | 19 19 0 0 + /trunk/patches/binutils/2.19.1/160-use-new-ld-dtags.patch | 19 19 0 0 + /trunk/patches/binutils/2.19.1/180-libiberty-pic.patch | 19 19 0 0 + /trunk/patches/binutils/2.19.1/100-ppc64-pie.patch | 25 25 0 0 + /trunk/patches/binutils/2.19.1/110-RPATH_ENVVAR-smack.patch | 22 22 0 0 + /trunk/patches/binutils/2.19.1/140-pt-pax-flags-20081101.patch | 254 254 0 0 +++++++++++++++ /trunk/patches/binutils/2.19.1/150-warn-textrel.patch | 53 53 0 0 +++ /trunk/patches/binutils/2.19.1/130-check_ldrunpath_length.patch | 36 36 0 0 ++ 9 files changed, 504 insertions(+)
Diffstat (limited to 'patches/binutils/2.19.1/120-sh-targets.patch')
-rw-r--r--patches/binutils/2.19.1/120-sh-targets.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/patches/binutils/2.19.1/120-sh-targets.patch b/patches/binutils/2.19.1/120-sh-targets.patch
new file mode 100644
index 0000000..5d1ecbe
--- /dev/null
+++ b/patches/binutils/2.19.1/120-sh-targets.patch
@@ -0,0 +1,57 @@
+Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.19/120-sh-targets.patch
+
+-= BEGIN original header =-
+Original patch from Gentoo:
+gentoo/src/patchsets/binutils/2.19/12_all_sh-targets.patch
+
+r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
+
+Likewise, binutils has no idea about any of these new targets either, so we
+fix that up too.. now we're able to actually build a real toolchain for
+sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
+inept targets than that one, really. Go look, I promise).
+
+-= END original header =-
+
+diff -durN binutils-2.19.1.orig/configure binutils-2.19.1/configure
+--- binutils-2.19.1.orig/configure 2009-03-08 11:57:00.000000000 +0100
++++ binutils-2.19.1/configure 2009-03-08 11:57:00.000000000 +0100
+@@ -2281,7 +2281,7 @@
+ am33_2.0-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+- sh-*-linux*)
++ sh*-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+ sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+@@ -2606,7 +2606,7 @@
+ romp-*-*)
+ noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
+ ;;
+- sh-*-* | sh64-*-*)
++ sh*-*-* | sh64-*-*)
+ case "${host}" in
+ i[3456789]86-*-vsta) ;; # don't add gprof back in
+ i[3456789]86-*-go32*) ;; # don't add gprof back in
+diff -durN binutils-2.19.1.orig/configure.ac binutils-2.19.1/configure.ac
+--- binutils-2.19.1.orig/configure.ac 2009-02-02 12:54:49.000000000 +0100
++++ binutils-2.19.1/configure.ac 2009-03-08 11:57:00.000000000 +0100
+@@ -530,7 +530,7 @@
+ am33_2.0-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+- sh-*-linux*)
++ sh*-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+ sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+@@ -855,7 +855,7 @@
+ romp-*-*)
+ noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
+ ;;
+- sh-*-* | sh64-*-*)
++ sh*-*-* | sh64-*-*)
+ case "${host}" in
+ i[[3456789]]86-*-vsta) ;; # don't add gprof back in
+ i[[3456789]]86-*-go32*) ;; # don't add gprof back in