aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-05-09 03:50:22 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-05-09 03:50:22 -0700
commitb7764693d645c516a9b1be36fce35b12731fffb6 (patch)
treec3ce82b122147e87ce2329df9013dc9ca17ba55e /gcc
parent4e7d5d2733308bac25794673fa0cc2ae8e2947ac (diff)
downloadgcc-b7764693d645c516a9b1be36fce35b12731fffb6.zip
gcc-b7764693d645c516a9b1be36fce35b12731fffb6.tar.gz
gcc-b7764693d645c516a9b1be36fce35b12731fffb6.tar.bz2
sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
2002-05-09 David S. Miller <davem@redhat.com> * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. From-SVN: r53323
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sparc/sol2.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9bf0db8d..324e874 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-09 David S. Miller <davem@redhat.com>
+
+ * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
+
2002-05-07 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index f27b3ad..6dafd10 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -71,17 +71,21 @@ Boston, MA 02111-1307, USA. */
/* This is here rather than in sparc.h because it's not known what
other assemblers will accept. */
+
#if TARGET_CPU_DEFAULT == TARGET_CPU_v9
#undef ASM_CPU_DEFAULT_SPEC
#define ASM_CPU_DEFAULT_SPEC "-xarch=v8plus"
#endif
+
#if TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc
#undef ASM_CPU_DEFAULT_SPEC
#define ASM_CPU_DEFAULT_SPEC "-xarch=v8plusa"
#endif
+
#undef ASM_CPU_SPEC
#define ASM_CPU_SPEC "\
%{mcpu=v8plus:-xarch=v8plus} \
+%{mcpu=v9:-xarch=v8plus} \
%{mcpu=ultrasparc:-xarch=v8plusa} \
%{!mcpu*:%(asm_cpu_default)} \
"