From: David S. Miller Date: Thu, 9 May 2002 10:50:22 +0000 (-0700) Subject: sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. X-Git-Tag: releases/gcc-3.3.0~5164 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7764693d645c516a9b1be36fce35b12731fffb6;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bf0db8d6f62..324e8744a5f3 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 f27b3ad73d23..6dafd10ae5ff 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)} \ "