diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-18 23:36:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-18 23:36:45 +0000 |
commit | 379e6c03695c635608b5dc17402b93a8f7475b13 (patch) | |
tree | 73106cae73aeeaa38147709e1f1606ac896a7771 | |
parent | 7a48e5018b10d2b4c123913b40df904bd5c66043 (diff) |
The sun assembler only supports .xword in V9 mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24842 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Sparc/SparcAsmPrinter.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SparcV8/SparcV8AsmPrinter.cpp | 2 |
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"; |