Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Markos Chandras <Markos.Chandras@imgtec.com>
To: <linux-mips@linux-mips.org>
Subject: Re: [PATCH] MIPS: microMIPS: Remove unsupported compiler flag.
Date: Mon, 9 Dec 2013 09:42:49 +0000	[thread overview]
Message-ID: <52A59099.3000506@imgtec.com> (raw)
In-Reply-To: <1386265069-21930-1-git-send-email-Steven.Hill@imgtec.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Markos Chandras <Markos.Chandras@imgtec.com>
To: linux-mips@linux-mips.org
Subject: Re: [PATCH] MIPS: microMIPS: Remove unsupported compiler flag.
Date: Mon, 9 Dec 2013 09:42:49 +0000	[thread overview]
Message-ID: <52A59099.3000506@imgtec.com> (raw)
Message-ID: <20131209094249.25-A45khO8rJo1fcXsFZFZrLgbWBS7DMonyoRtYVNE4@z> (raw)
In-Reply-To: <1386265069-21930-1-git-send-email-Steven.Hill@imgtec.com>

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

  reply	other threads:[~2013-12-09  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 17:37 [PATCH] MIPS: microMIPS: Remove unsupported compiler flag Steven J. Hill
2013-12-09  9:42 ` Markos Chandras [this message]
2013-12-09  9:42   ` Markos Chandras

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=52A59099.3000506@imgtec.com \
    --to=markos.chandras@imgtec.com \
    --cc=linux-mips@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox