* [PATCH] MIPS: microMIPS: Remove unsupported compiler flag.
@ 2013-12-05 17:37 Steven J. Hill
2013-12-09 9:42 ` Markos Chandras
0 siblings, 1 reply; 3+ messages in thread
From: Steven J. Hill @ 2013-12-05 17:37 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] MIPS: microMIPS: Remove unsupported compiler flag.
@ 2013-12-09 9:42 ` Markos Chandras
0 siblings, 0 replies; 3+ messages in thread
From: Markos Chandras @ 2013-12-09 9:42 UTC (permalink / raw)
To: linux-mips
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MIPS: microMIPS: Remove unsupported compiler flag.
@ 2013-12-09 9:42 ` Markos Chandras
0 siblings, 0 replies; 3+ messages in thread
From: Markos Chandras @ 2013-12-09 9:42 UTC (permalink / raw)
To: linux-mips
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-09 9:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 17:37 [PATCH] MIPS: microMIPS: Remove unsupported compiler flag Steven J. Hill
2013-12-09 9:42 ` Markos Chandras
2013-12-09 9:42 ` Markos Chandras
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.