From ab3a5f490cd4d0bd035caa5cf87e4837567c781e Mon Sep 17 00:00:00 2001 From: Chris Dearman Date: Wed, 29 Apr 2015 19:09:40 -0700 Subject: [PATCH] Configure synci generation explicitly The default for synci generation is compiler version dependent Change-Id: I3f94cabd98c45aaa4e5149e8bb050dc47efa61ca --- core/clang/mips.mk | 1 + core/clang/mips64.mk | 1 + core/combo/arch/mips/mips32-fp.mk | 1 + core/combo/arch/mips/mips32r2-fp-xburst.mk | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/clang/mips.mk b/core/clang/mips.mk index 08daf403a..aeb2f6a37 100644 --- a/core/clang/mips.mk +++ b/core/clang/mips.mk @@ -12,6 +12,7 @@ CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \ -frerun-cse-after-loop \ -frename-registers \ -msynci \ + -mno-synci \ -mno-fused-madd # We don't have any mips flags to substitute yet. diff --git a/core/clang/mips64.mk b/core/clang/mips64.mk index 612175c56..20e87bd9e 100644 --- a/core/clang/mips64.mk +++ b/core/clang/mips64.mk @@ -12,6 +12,7 @@ CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \ -frerun-cse-after-loop \ -frename-registers \ -msynci \ + -mno-synci \ -mno-fused-madd # We don't have any mips64 flags to substitute yet. diff --git a/core/combo/arch/mips/mips32-fp.mk b/core/combo/arch/mips/mips32-fp.mk index 8320e9392..912ff631b 100644 --- a/core/combo/arch/mips/mips32-fp.mk +++ b/core/combo/arch/mips/mips32-fp.mk @@ -7,6 +7,7 @@ arch_variant_cflags := \ -mips32 \ -mfp32 \ -modd-spreg \ + -mno-synci arch_variant_ldflags := \ -Wl,-melf32ltsmip diff --git a/core/combo/arch/mips/mips32r2-fp-xburst.mk b/core/combo/arch/mips/mips32r2-fp-xburst.mk index 2b4f71484..09b3bc210 100644 --- a/core/combo/arch/mips/mips32r2-fp-xburst.mk +++ b/core/combo/arch/mips/mips32r2-fp-xburst.mk @@ -9,7 +9,8 @@ arch_variant_cflags := \ -mfp32 \ -modd-spreg \ -mno-fused-madd \ - -Wa,-mmxu + -Wa,-mmxu \ + -mno-synci arch_variant_ldflags := \ -Wl,-melf32ltsmip