aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-01-31 14:56:30 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-01-31 14:56:30 +0000
commit67a559de3736deb9b9912d89ca22149922a4894c (patch)
treefbfb9e90e9f8abc85144c21e520be750cba182b4
parenteb7ae6f03e3b6dad5177ebff69d483e026350b59 (diff)
parent5578813961a205a7c5d3e9da8a1b5ec00d4dac3c (diff)
downloadtoolchain_gcc-67a559de3736deb9b9912d89ca22149922a4894c.tar.gz
toolchain_gcc-67a559de3736deb9b9912d89ca22149922a4894c.tar.bz2
toolchain_gcc-67a559de3736deb9b9912d89ca22149922a4894c.zip
Merge "Remove march/mtune/mfpmath hardcoded values"
-rw-r--r--gcc-4.4.3/gcc/config/i386/linux.h3
-rw-r--r--gcc-4.6/gcc/config/i386/linux.h3
-rw-r--r--gcc-4.7/gcc/config/i386/gnu-user.h3
3 files changed, 3 insertions, 6 deletions
diff --git a/gcc-4.4.3/gcc/config/i386/linux.h b/gcc-4.4.3/gcc/config/i386/linux.h
index 8d3aa87ee..1ab9aed4a 100644
--- a/gcc-4.4.3/gcc/config/i386/linux.h
+++ b/gcc-4.4.3/gcc/config/i386/linux.h
@@ -85,8 +85,7 @@ along with GCC; see the file COPYING3. If not see
#define CC1_SPEC \
LINUX_OR_ANDROID_CC (OVERRIDE_LINUX_TARGET_CC1_SPEC, \
OVERRIDE_LINUX_TARGET_CC1_SPEC \
- " -march=i686 -mtune=atom" \
- " -mstackrealign -msse3 -mfpmath=sse" \
+ " -mstackrealign -msse3" \
" -m32 -fno-short-enums" \
" " \
ANDROID_CC1_SPEC("-fPIC"))
diff --git a/gcc-4.6/gcc/config/i386/linux.h b/gcc-4.6/gcc/config/i386/linux.h
index 4bf4a45c9..7a0388e04 100644
--- a/gcc-4.6/gcc/config/i386/linux.h
+++ b/gcc-4.6/gcc/config/i386/linux.h
@@ -86,8 +86,7 @@ along with GCC; see the file COPYING3. If not see
#define CC1_SPEC \
LINUX_OR_ANDROID_CC (LINUX_TARGET_CC1_SPEC, \
LINUX_TARGET_CC1_SPEC \
- " -march=i686 -mtune=atom" \
- " -mstackrealign -msse3 -mfpmath=sse" \
+ " -mstackrealign -msse3" \
" -m32 -fno-short-enums" \
" " \
ANDROID_CC1_SPEC("-fPIC"))
diff --git a/gcc-4.7/gcc/config/i386/gnu-user.h b/gcc-4.7/gcc/config/i386/gnu-user.h
index ec45caa9a..59a95f2fc 100644
--- a/gcc-4.7/gcc/config/i386/gnu-user.h
+++ b/gcc-4.7/gcc/config/i386/gnu-user.h
@@ -84,8 +84,7 @@ along with GCC; see the file COPYING3. If not see
#define CC1_SPEC \
LINUX_OR_ANDROID_CC (LINUX_TARGET_CC1_SPEC, \
LINUX_TARGET_CC1_SPEC \
- " -march=i686 -mtune=atom" \
- " -mstackrealign -msse3 -mfpmath=sse" \
+ " -mstackrealign -msse3" \
" -m32 -fno-short-enums" \
" " \
ANDROID_CC1_SPEC("-fPIC"))