diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-18 23:35:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-18 23:35:05 +0000 |
commit | 7a48e5018b10d2b4c123913b40df904bd5c66043 (patch) | |
tree | 99baeb4926dd4c6f859a6e05ed7a4ee75099d373 /lib/Target/Sparc/SparcAsmPrinter.cpp | |
parent | b04c5c8eb2f0574c473036f1e66086a771663300 (diff) |
Configure the asmwriter to allow constant pools to be printed correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcAsmPrinter.cpp')
-rw-r--r-- | lib/Target/Sparc/SparcAsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcAsmPrinter.cpp b/lib/Target/Sparc/SparcAsmPrinter.cpp index f64bd7edda..ee01e74bf4 100644 --- a/lib/Target/Sparc/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/SparcAsmPrinter.cpp @@ -40,6 +40,8 @@ namespace { Data32bitsDirective = "\t.word\t"; Data64bitsDirective = "\t.xword\t"; ZeroDirective = 0; // no .zero or .space! + CommentString = "!"; + ConstantPoolSection = "\t.section \".rodata\",#alloc\n"; } /// We name each basic block in a Function with a unique number, so |