linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: microMIPS: Remove unsupported compiler flag.

To: <linux-mips@linux-mips.org>
Subject: Re: [PATCH] MIPS: microMIPS: Remove unsupported compiler flag.
From: Markos Chandras <Markos.Chandras@imgtec.com>
Date: Mon, 9 Dec 2013 09:42:49 +0000
In-reply-to: <1386265069-21930-1-git-send-email-Steven.Hill@imgtec.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1386265069-21930-1-git-send-email-Steven.Hill@imgtec.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
On 12/05/2013 05:37 PM, Steven J. Hill wrote:
From: "Steven J. Hill" <Steven.Hill@imgtec.com>

Remove usage of -mno-jals compiler flag when building a pure
microMIPS kernel. The -mno-jals flag only ever existed within
Mentor toolchains. Dropping this flag allows all FSF toolchains
to work.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
---
  arch/mips/Makefile |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index de300b9..873a0ca 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -114,7 +114,7 @@ cflags-$(CONFIG_CPU_BIG_ENDIAN)             += $(shell 
$(CC) -dumpmachine |grep -q 'mips.*e
  cflags-$(CONFIG_CPU_LITTLE_ENDIAN)    += $(shell $(CC) -dumpmachine |grep -q 
'mips.*el-.*' || echo -EL $(undef-all) $(predef-le))

  cflags-$(CONFIG_CPU_HAS_SMARTMIPS)    += $(call cc-option,-msmartmips)
-cflags-$(CONFIG_CPU_MICROMIPS) += $(call cc-option,-mmicromips -mno-jals)
+cflags-$(CONFIG_CPU_MICROMIPS) += $(call cc-option,-mmicromips)

  cflags-$(CONFIG_SB1XXX_CORELIS)       += $(call cc-option,-mno-sched-prolog) \
                                   -fno-omit-frame-pointer


Ralf,

Do you think we can have this in v3.13 (and maybe stable)?

--
markos


<Prev in Thread] Current Thread [Next in Thread>