From: Chris Lattner Date: Sun, 18 Dec 2005 23:36:45 +0000 (+0000) Subject: The sun assembler only supports .xword in V9 mode. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=379e6c03695c635608b5dc17402b93a8f7475b13;p=oota-llvm.git 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 --- diff --git a/lib/Target/Sparc/SparcAsmPrinter.cpp b/lib/Target/Sparc/SparcAsmPrinter.cpp index ee01e74bf46..7e5448eaad7 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 ee01e74bf46..7e5448eaad7 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";