Received: from multi.imgtec.com ([194.200.65.239]:41643 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6823068Ab3LIJmpqBEO1 (ORCPT ); Mon, 9 Dec 2013 10:42:45 +0100 Message-ID: <52A59099.3000506@imgtec.com> Date: Mon, 9 Dec 2013 09:42:49 +0000 From: Markos Chandras MIME-Version: 1.0 Subject: Re: [PATCH] MIPS: microMIPS: Remove unsupported compiler flag. References: <1386265069-21930-1-git-send-email-Steven.Hill@imgtec.com> In-Reply-To: <1386265069-21930-1-git-send-email-Steven.Hill@imgtec.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org Message-ID: <20131209094249.25-A45khO8rJo1fcXsFZFZrLgbWBS7DMonyoRtYVNE4@z> On 12/05/2013 05:37 PM, Steven J. Hill wrote: > From: "Steven J. Hill" > > 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 > Reviewed-by: Markos Chandras > --- > 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