xref: /OK3568_Linux_fs/buildroot/package/binutils/2.39/0001-sh-conf.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 33f3c1f804efc2e4f97849081589efb70cda31e5 Mon Sep 17 00:00:00 2001
2From: Romain Naour <romain.naour@gmail.com>
3Date: Fri, 25 Dec 2015 11:38:13 +0100
4Subject: [PATCH] sh-conf
5
6Likewise, binutils has no idea about any of these new targets either, so we
7fix that up too.. now we're able to actually build a real toolchain for
8sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
9inept targets than that one, really. Go look, I promise).
10
11[Romain: rebase on top of 2.32]
12Signed-off-by: Romain Naour <romain.naour@gmail.com>
13[Thomas: rebase on top of 2.29, in which sh64 support was removed.]
14Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15---
16 configure    | 2 +-
17 configure.ac | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/configure b/configure
21index 3dd206525a7..6881ce632f5 100755
22--- a/configure
23+++ b/configure
24@@ -3892,7 +3892,7 @@ case "${target}" in
25   nvptx*-*-*)
26     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
27     ;;
28-  sh-*-*)
29+  sh*-*-*)
30     case "${target}" in
31       sh*-*-elf)
32          ;;
33diff --git a/configure.ac b/configure.ac
34index 797a624621e..1f9256bbf18 100644
35--- a/configure.ac
36+++ b/configure.ac
37@@ -1175,7 +1175,7 @@ case "${target}" in
38   nvptx*-*-*)
39     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
40     ;;
41-  sh-*-*)
42+  sh*-*-*)
43     case "${target}" in
44       sh*-*-elf)
45          ;;
46--
472.31.1
48
49