aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Sparc/SparcAsmPrinter.cpp2
-rw-r--r--lib/Target/SparcV8/SparcV8AsmPrinter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcAsmPrinter.cpp b/lib/Target/Sparc/SparcAsmPrinter.cpp
index ee01e74bf4..7e5448eaad 100644
--- a/lib/Target/Sparc/SparcAsmPrinter.cpp
+++ b/lib/Target/Sparc/SparcAsmPrinter.cpp
@@ -38,7 +38,7 @@ namespace {
SparcV8AsmPrinter(std::ostream &O, TargetMachine &TM) : AsmPrinter(O, TM) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
- Data64bitsDirective = "\t.xword\t";
+ Data64bitsDirective = 0; // .xword is only supported by V9.
ZeroDirective = 0; // no .zero or .space!
CommentString = "!";
ConstantPoolSection = "\t.section \".rodata\",#alloc\n";
diff --git a/lib/Target/SparcV8/SparcV8AsmPrinter.cpp b/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
index ee01e74bf4..7e5448eaad 100644
--- a/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
+++ b/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
@@ -38,7 +38,7 @@ namespace {
SparcV8AsmPrinter(std::ostream &O, TargetMachine &TM) : AsmPrinter(O, TM) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
- Data64bitsDirective = "\t.xword\t";
+ Data64bitsDirective = 0; // .xword is only supported by V9.
ZeroDirective = 0; // no .zero or .space!
CommentString = "!";
ConstantPoolSection = "\t.section \".rodata\",#alloc\n";