summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/linux64.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-10-24 04:15:46 +0000
committerDavid S. Miller <davem@gcc.gnu.org>2011-10-23 21:15:46 -0700
commitd377a5fbf156ab7e6da3cda3ef39108616e28c02 (patch)
tree4c3b1194783e516c7331333dc2fdda1325cfe3e4 /gcc/config/sparc/linux64.h
parentb7190f2fc6ea307d8238910edb47007cd48cd486 (diff)
downloadgcc-d377a5fbf156ab7e6da3cda3ef39108616e28c02.tar.gz
Fix sol2 sparc -mv8 regression.
* config/sparc/sparc.c (sparc_option_override): Remove -mv8plus cpu adjustment. * config/sparc/linux64.h (CC1_SPEC): When defaulting to 64-bit, append -mcpu=v9 when -mv8plus is given. From-SVN: r180362
Diffstat (limited to 'gcc/config/sparc/linux64.h')
-rw-r--r--gcc/config/sparc/linux64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
index a51a2f0e1c7..7604fa054d0 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
@@ -166,6 +166,8 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
%{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m32:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \
%{!mcpu*:-mcpu=cypress}} \
+%{mv8plus:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \
+ %{!mcpu*:-mcpu=v9}} \
%{!m32:%{!mcpu*:-mcpu=ultrasparc}} \
%{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}} \
"