aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-04-04 13:00:09 +0000
committerNick Clifton <nickc@gcc.gnu.org>2003-04-04 13:00:09 +0000
commit5eb7ad0752216fb35146b2639f165cf43e51305c (patch)
treeca2a1a25592441d3a77c09d59ad6e8efca584cb1
parentfdf3bb57c260150c8a68577714383cb57a70808f (diff)
downloadgcc-5eb7ad0752216fb35146b2639f165cf43e51305c.zip
gcc-5eb7ad0752216fb35146b2639f165cf43e51305c.tar.gz
gcc-5eb7ad0752216fb35146b2639f165cf43e51305c.tar.bz2
config/sparc/sol2-bi.h: Revert previous delta.
config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO. From-SVN: r65237
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sol2-bi.h8
-rw-r--r--gcc/config/sparc/sol2-gas-bi.h4
3 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 256d412..ea34349 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2003-04-04 Nick Clifton <nickc@redhat.com>
+ * config/sparc/sol2-bi.h: Revert previous delta.
+ * config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO
+
+2003-04-04 Nick Clifton <nickc@redhat.com>
+
* config/v850/v850.c (expand_prologue): Only use register save
helper functions if long calls are not being used.
Add a clobber of r11 id using long calls.
diff --git a/gcc/config/sparc/sol2-bi.h b/gcc/config/sparc/sol2-bi.h
index af89aa6..3f9416d 100644
--- a/gcc/config/sparc/sol2-bi.h
+++ b/gcc/config/sparc/sol2-bi.h
@@ -10,7 +10,7 @@
#undef ASM_CPU32_DEFAULT_SPEC
#define ASM_CPU32_DEFAULT_SPEC ""
#undef ASM_CPU64_DEFAULT_SPEC
-#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG " -TSO"
+#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG
#if TARGET_CPU_DEFAULT == TARGET_CPU_v9
#undef CPP_CPU64_DEFAULT_SPEC
@@ -24,15 +24,15 @@
#undef ASM_CPU32_DEFAULT_SPEC
#define ASM_CPU32_DEFAULT_SPEC "-xarch=v8plusa"
#undef ASM_CPU64_DEFAULT_SPEC
-#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG "a -TSO"
+#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG "a"
#endif
#if DEFAULT_ARCH32_P
#define DEF_ARCH32_SPEC(__str) "%{!m64:" __str "}"
-#define DEF_ARCH64_SPEC(__str) "%{m64:" __str " -TSO}"
+#define DEF_ARCH64_SPEC(__str) "%{m64:" __str "}"
#else
#define DEF_ARCH32_SPEC(__str) "%{m32:" __str "}"
-#define DEF_ARCH64_SPEC(__str) "%{!m32:" __str " -TSO}"
+#define DEF_ARCH64_SPEC(__str) "%{!m32:" __str "}"
#endif
#undef CPP_CPU_SPEC
diff --git a/gcc/config/sparc/sol2-gas-bi.h b/gcc/config/sparc/sol2-gas-bi.h
index 0b6cb61..2198fbe 100644
--- a/gcc/config/sparc/sol2-gas-bi.h
+++ b/gcc/config/sparc/sol2-gas-bi.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for bi-arch SPARC
running Solaris 2 using the GNU assembler. */
-#undef AS_SPARC64_FLAG
-#define AS_SPARC64_FLAG "-64 -Av9"
+#undef AS_SPARC64_FLAG
+#define AS_SPARC64_FLAG "-TSO -64 -Av9"