summaryrefslogtreecommitdiffstats
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-03 10:21:22 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-03 10:21:22 +0000
commit2f5ac7178bfc3c721c6f27e9b15ea800863fcc80 (patch)
treec06478e361234f82a360f2f49cc17d8cdb61dae8 /gcc/config/sparc
parent8827d2baddd6195cca94d3f2c879078d418cf01e (diff)
downloadppe42-gcc-2f5ac7178bfc3c721c6f27e9b15ea800863fcc80.tar.gz
ppe42-gcc-2f5ac7178bfc3c721c6f27e9b15ea800863fcc80.zip
* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
(DEF_ARCH64_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65198 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sol2-bi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/sparc/sol2-bi.h b/gcc/config/sparc/sol2-bi.h
index 3f9416daaa0..af89aa6f3d6 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
OpenPOWER on IntegriCloud