From 695fee31adde0b04230aeacd9d4b0f5972ccd622 Mon Sep 17 00:00:00 2001 From: Raghu Gandham Date: Thu, 7 Feb 2013 16:07:01 -0800 Subject: For the current MIPS compiler __builtin___clear_cache() generates synci instruction only with -msynci option So, add -msynci to all mips32r2 makefiles. Also add msynci to the list flags not recognized by clang. Change-Id: I48fd6f2b0cbe80c3cd90f453ced97a2f154f7ad3 Signed-off-by: Rocky Zhang --- core/combo/arch/mips/mips32r2-fp.mk | 3 ++- core/combo/arch/mips/mips32r2.mk | 3 ++- core/combo/arch/mips/mips32r2dsp-fp.mk | 3 ++- core/combo/arch/mips/mips32r2dsp.mk | 3 ++- core/combo/arch/mips/mips32r2dspr2-fp.mk | 3 ++- core/combo/arch/mips/mips32r2dspr2.mk | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) (limited to 'core/combo/arch') diff --git a/core/combo/arch/mips/mips32r2-fp.mk b/core/combo/arch/mips/mips32r2-fp.mk index a407f00..08d91df 100644 --- a/core/combo/arch/mips/mips32r2-fp.mk +++ b/core/combo/arch/mips/mips32r2-fp.mk @@ -8,7 +8,8 @@ arch_variant_cflags := \ -march=mips32r2 \ -mtune=mips32r2 \ -mips32r2 \ - -mhard-float + -mhard-float \ + -msynci arch_variant_ldflags := \ -EL diff --git a/core/combo/arch/mips/mips32r2.mk b/core/combo/arch/mips/mips32r2.mk index 369d499..16ce76f 100644 --- a/core/combo/arch/mips/mips32r2.mk +++ b/core/combo/arch/mips/mips32r2.mk @@ -6,7 +6,8 @@ arch_variant_cflags := \ -march=mips32r2 \ -mtune=mips32r2 \ -mips32r2 \ - -msoft-float + -msoft-float \ + -msynci arch_variant_ldflags := \ -EL diff --git a/core/combo/arch/mips/mips32r2dsp-fp.mk b/core/combo/arch/mips/mips32r2dsp-fp.mk index 886872d..fe2b1fe 100644 --- a/core/combo/arch/mips/mips32r2dsp-fp.mk +++ b/core/combo/arch/mips/mips32r2dsp-fp.mk @@ -11,7 +11,8 @@ arch_variant_cflags := \ -mtune=mips32r2 \ -mips32r2 \ -mhard-float \ - -mdsp + -mdsp \ + -msynci arch_variant_ldflags := \ -EL diff --git a/core/combo/arch/mips/mips32r2dsp.mk b/core/combo/arch/mips/mips32r2dsp.mk index e67adc7..8a8976c 100644 --- a/core/combo/arch/mips/mips32r2dsp.mk +++ b/core/combo/arch/mips/mips32r2dsp.mk @@ -10,7 +10,8 @@ arch_variant_cflags := \ -mtune=mips32r2 \ -mips32r2 \ -msoft-float \ - -mdsp + -mdsp \ + -msynci arch_variant_ldflags := \ -EL diff --git a/core/combo/arch/mips/mips32r2dspr2-fp.mk b/core/combo/arch/mips/mips32r2dspr2-fp.mk index 27e090d..7e882b3 100644 --- a/core/combo/arch/mips/mips32r2dspr2-fp.mk +++ b/core/combo/arch/mips/mips32r2dspr2-fp.mk @@ -11,7 +11,8 @@ arch_variant_cflags := \ -mtune=mips32r2 \ -mips32r2 \ -mhard-float \ - -mdspr2 + -mdspr2 \ + -msynci arch_variant_ldflags := \ -EL diff --git a/core/combo/arch/mips/mips32r2dspr2.mk b/core/combo/arch/mips/mips32r2dspr2.mk index c493d9a..c311523 100644 --- a/core/combo/arch/mips/mips32r2dspr2.mk +++ b/core/combo/arch/mips/mips32r2dspr2.mk @@ -10,7 +10,8 @@ arch_variant_cflags := \ -mtune=mips32r2 \ -mips32r2 \ -msoft-float \ - -mdspr2 + -mdspr2 \ + -msynci arch_variant_ldflags := \ -EL -- cgit v1.1