aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-04-03 10:21:22 +0000
committerNick Clifton <nickc@gcc.gnu.org>2003-04-03 10:21:22 +0000
commitdc00aebddf775cb5bafd517796d76fdeb716c1bd (patch)
treec06478e361234f82a360f2f49cc17d8cdb61dae8 /gcc
parenta94f136b5283f78f524c77f0bc18576e0988e7cc (diff)
downloadgcc-dc00aebddf775cb5bafd517796d76fdeb716c1bd.zip
gcc-dc00aebddf775cb5bafd517796d76fdeb716c1bd.tar.gz
gcc-dc00aebddf775cb5bafd517796d76fdeb716c1bd.tar.bz2
sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO. (DEF_ARCH64_SPEC): Likewise. From-SVN: r65198
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sol2-bi.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ac2b403..4f0d83f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-03 Nick Clifton <nickc@redhat.com>
+
+ * config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
+ (DEF_ARCH64_SPEC): Likewise.
+
Thu Apr 3 09:53:40 CEST 2003 Jan Hubicka <jh@suse.cz>
* i386.c (constant_address_p): Use legitimate_constant_p.
diff --git a/gcc/config/sparc/sol2-bi.h b/gcc/config/sparc/sol2-bi.h
index 3f9416d..af89aa6 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
+#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG " -TSO"
#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"
+#define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG "a -TSO"
#endif
#if DEFAULT_ARCH32_P
#define DEF_ARCH32_SPEC(__str) "%{!m64:" __str "}"
-#define DEF_ARCH64_SPEC(__str) "%{m64:" __str "}"
+#define DEF_ARCH64_SPEC(__str) "%{m64:" __str " -TSO}"
#else
#define DEF_ARCH32_SPEC(__str) "%{m32:" __str "}"
-#define DEF_ARCH64_SPEC(__str) "%{!m32:" __str "}"
+#define DEF_ARCH64_SPEC(__str) "%{!m32:" __str " -TSO}"
#endif
#undef CPP_CPU_SPEC