summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuane Sand <duane.sand@imgtec.com>2014-07-31 14:58:48 -0700
committerDuane Sand <duane.sand@imgtec.com>2014-07-31 14:58:48 -0700
commit13066a8d4c2f8ddb2348e6d3df3948a0f4dbf105 (patch)
treef4d51de9c2318f8897e77b810a03e996fd01f9b6
parentd23798bfdc9bb34909177c3c5f06f0c97cc9897e (diff)
downloadbuild-13066a8d4c2f8ddb2348e6d3df3948a0f4dbf105.zip
build-13066a8d4c2f8ddb2348e6d3df3948a0f4dbf105.tar.gz
build-13066a8d4c2f8ddb2348e6d3df3948a0f4dbf105.tar.bz2
[MIPSR6] R6 target options for clang
Pass along new R6 target arch options and floating point register model options to clang. Also pass along older arch variants. This patch depends on recent Mips extensions to 3.5 clang. The new options are rejected by aosp's current 3.5 clang. This only affects builds for mips32r6/mips64r6, not Android's default builds for mips32r2. Change-Id: Ic921dc14ced34a83143a82e322124b3ef035014a
-rw-r--r--core/clang/mips.mk8
-rw-r--r--core/clang/mips64.mk1
2 files changed, 0 insertions, 9 deletions
diff --git a/core/clang/mips.mk b/core/clang/mips.mk
index 1624b6f..08daf40 100644
--- a/core/clang/mips.mk
+++ b/core/clang/mips.mk
@@ -7,14 +7,6 @@ CLANG_CONFIG_mips_EXTRA_LDFLAGS :=
# Include common unknown flags
CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \
$(CLANG_CONFIG_UNKNOWN_CFLAGS) \
- -mips32 \
- -mips32r2 \
- -mips32r6 \
- -mfp32 \
- -mfp64 \
- -mfpxx \
- -modd-spreg \
- -mno-odd-spreg \
-fno-strict-volatile-bitfields \
-fgcse-after-reload \
-frerun-cse-after-loop \
diff --git a/core/clang/mips64.mk b/core/clang/mips64.mk
index a76aa08..612175c 100644
--- a/core/clang/mips64.mk
+++ b/core/clang/mips64.mk
@@ -7,7 +7,6 @@ CLANG_CONFIG_mips64_EXTRA_LDFLAGS :=
# Include common unknown flags
CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \
$(CLANG_CONFIG_UNKNOWN_CFLAGS) \
- -mips64r6 \
-fno-strict-volatile-bitfields \
-fgcse-after-reload \
-frerun-cse-after-loop \