diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-11-23 16:34:49 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-11-23 16:34:49 (GMT) |
commit | 161a19e4235041cd84ff37dde1aa93aac273d455 (patch) | |
tree | da886555b5e48933da6c8a19c38022d8a229d80e /patches/binutils/2.19/120-sh-targets.patch | |
parent | c2803e1a04c186d352fb9438d3e337a800ac6d8b (diff) |
Add binutils-2.19 and associated patchset (vampirised from Gentoo).
/trunk/patches/binutils/2.19/120-sh-targets.patch | 52 52 0 0 ++++
/trunk/patches/binutils/2.19/180-use-relro.patch | 14 14 0 0 +
/trunk/patches/binutils/2.19/160-use-new-ld-dtags.patch | 14 14 0 0 +
/trunk/patches/binutils/2.19/100-ppc64-pie.patch | 20 20 0 0 +
/trunk/patches/binutils/2.19/190-libiberty-pic.patch | 14 14 0 0 +
/trunk/patches/binutils/2.19/170-generate-gnu-hash.patch | 16 16 0 0 +
/trunk/patches/binutils/2.19/110-RPATH_ENVVAR-smack.patch | 17 17 0 0 +
/trunk/patches/binutils/2.19/140-pt-pax-flags-20081101.patch | 249 249 0 0 +++++++++++++++++
/trunk/patches/binutils/2.19/150-warn-textrel.patch | 48 48 0 0 +++
/trunk/patches/binutils/2.19/130-check_ldrunpath_length.patch | 31 31 0 0 ++
/trunk/config/binutils.in | 5 5 0 0 +
11 files changed, 480 insertions(+)
Diffstat (limited to 'patches/binutils/2.19/120-sh-targets.patch')
-rw-r--r-- | patches/binutils/2.19/120-sh-targets.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/patches/binutils/2.19/120-sh-targets.patch b/patches/binutils/2.19/120-sh-targets.patch new file mode 100644 index 0000000..7cc0211 --- /dev/null +++ b/patches/binutils/2.19/120-sh-targets.patch @@ -0,0 +1,52 @@ +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). + +diff -durN binutils-2.19.orig/configure binutils-2.19/configure +--- binutils-2.19.orig/configure 2008-11-23 16:23:44.000000000 +0100 ++++ binutils-2.19/configure 2008-11-23 16:23:57.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.orig/configure.ac binutils-2.19/configure.ac +--- binutils-2.19.orig/configure.ac 2008-10-16 15:45:42.000000000 +0200 ++++ binutils-2.19/configure.ac 2008-11-23 16:23:57.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 |