sparc.h (AS_NIAGARA3_FLAG): Tweak.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 11 Nov 2012 21:56:27 +0000 (21:56 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 11 Nov 2012 21:56:27 +0000 (21:56 +0000)
* config/sparc/sparc.h (AS_NIAGARA3_FLAG): Tweak.
* config/sparc/sol2.h (TARGET_CPU_niagara4 support): Fix pasto.

From-SVN: r193416

gcc/ChangeLog
gcc/config/sparc/sol2.h
gcc/config/sparc/sparc.h

index 58d401c9878008837196f5539e0046c2e67474d9..568b209ae157c6c35b24475be4a9efdc4294819e 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/sparc.h (AS_NIAGARA3_FLAG): Tweak.
+       * config/sparc/sol2.h (TARGET_CPU_niagara4 support): Fix pasto.
+
 2012-11-11  Eric Botcazou  <ebotcazou@adacore.com>
            H.J. Lu  <hongjiu.lu@intel.com>
 
index ba2ec35e20ad11e792f9f4b0b55538d9640394a8..90dfd89a1347317f0a2a99e58a4dfa4708b328d6 100644 (file)
@@ -136,9 +136,9 @@ along with GCC; see the file COPYING3.  If not see
 #undef CPP_CPU64_DEFAULT_SPEC
 #define CPP_CPU64_DEFAULT_SPEC ""
 #undef ASM_CPU32_DEFAULT_SPEC
-#define ASM_CPU32_DEFAULT_SPEC "-xarch=v8plusb"
+#define ASM_CPU32_DEFAULT_SPEC "-xarch=v8plus" AS_NIAGARA3_FLAG
 #undef ASM_CPU64_DEFAULT_SPEC
-#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG "b"
+#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG AS_NIAGARA3_FLAG
 #undef ASM_CPU_DEFAULT_SPEC
 #define ASM_CPU_DEFAULT_SPEC ASM_CPU32_DEFAULT_SPEC
 #endif
index 8f86100071683b5d6b964113d308bcb117ca3bde..52e082893324c4ac9ee12bbfc789c8fd4fd200b1 100644 (file)
@@ -1740,10 +1740,10 @@ extern int sparc_indent_opcode;
 #define TARGET_SUN_TLS TARGET_TLS
 #define TARGET_GNU_TLS 0
 
-#ifndef HAVE_AS_FMAF_HPC_VIS3
-#define AS_NIAGARA3_FLAG "b"
-#else
+#ifdef HAVE_AS_FMAF_HPC_VIS3
 #define AS_NIAGARA3_FLAG "d"
+#else
+#define AS_NIAGARA3_FLAG "b"
 #endif
 
 /* We use gcc _mcount for profiling.  */