From 13066a8d4c2f8ddb2348e6d3df3948a0f4dbf105 Mon Sep 17 00:00:00 2001 From: Duane Sand Date: Thu, 31 Jul 2014 14:58:48 -0700 Subject: [PATCH] [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 --- core/clang/mips.mk | 8 -------- core/clang/mips64.mk | 1 - 2 files changed, 9 deletions(-) diff --git a/core/clang/mips.mk b/core/clang/mips.mk index 1624b6fe1..08daf403a 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 a76aa08d9..612175c56 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 \