summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-15 07:07:14 +0000
committerChris Lattner <sabre@nondot.org>2006-02-15 07:07:14 +0000
commit6db414e8de4926933c000dc69d1aea810ef95ba0 (patch)
treea413c33494deb5b359ebf9a2aa7d29baff24a359 /llvm/lib
parent7edc87279c9ba4604009717603e721370a33e41f (diff)
downloadbcm5719-llvm-6db414e8de4926933c000dc69d1aea810ef95ba0.tar.gz
bcm5719-llvm-6db414e8de4926933c000dc69d1aea810ef95ba0.zip
Sparc actually *DOES* have a directive for emitting zeros. In fact, it requires
it, because this: .bss X: .byte 0 results in the assembler warning: "initialization in bss segment". Annoying. llvm-svn: 26204
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Sparc/SparcAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp b/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
index 6d5c8506859..5eacb816ae1 100644
--- a/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
+++ b/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
@@ -40,7 +40,7 @@ namespace {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = 0; // .xword is only supported by V9.
- ZeroDirective = 0; // no .zero or .space!
+ ZeroDirective = "\t.skip\t";
CommentString = "!";
ConstantPoolSection = "\t.section \".rodata\",#alloc\n";
}
OpenPOWER on IntegriCloud