From b7764693d645c516a9b1be36fce35b12731fffb6 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 9 May 2002 03:50:22 -0700 Subject: [PATCH] sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. 2002-05-09 David S. Miller * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. From-SVN: r53323 --- gcc/ChangeLog | 4 ++++ gcc/config/sparc/sol2.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bf0db8d6f6..324e8744a5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-05-09 David S. Miller + + * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. + 2002-05-07 David S. Miller * 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 f27b3ad73d2..6dafd10ae5f 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)} \ "