From: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] sh: Add '-up' to ISA flag if enable SH3
Date: Wed, 29 Oct 2008 04:31:58 +0000 [thread overview]
Message-ID: <4907E73E.9050905@renesas.com> (raw)
By commit of b2d86a3fd9855380598c0c039e712a20086e119f, compilation of SH3 fails.
In current binutils, "pref" opcode is not support SH3. However, it is supported.
Please validate this flag till fix binutils.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
---
arch/sh/Makefile | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 3a74ed6..b2d46a6 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -20,6 +20,10 @@ isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al
isa-$(CONFIG_CPU_SH5) := shmedia
isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp
+ifdef CONFIG_CPU_SH3
+isa-y := $(isa-y)-up
+endif
+
cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,)
cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \
$(call cc-option,-m2a-nofpu,)
--
1.5.6.5
next reply other threads:[~2008-10-29 4:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 4:31 Nobuhiro Iwamatsu [this message]
2008-10-29 4:45 ` [PATCH] sh: Add '-up' to ISA flag if enable SH3 Nobuhiro Iwamatsu
2008-10-31 7:09 ` Paul Mundt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4907E73E.9050905@renesas.com \
--to=iwamatsu.nobuhiro@renesas.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.