[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Feb 14 23:07:26 PST 2006
Changes in directory llvm/lib/Target/Sparc:
SparcAsmPrinter.cpp updated: 1.54 -> 1.55
---
Log message:
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.
---
Diffs of the changes: (+1 -1)
SparcAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
diff -u llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.54 llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.55
--- llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.54 Fri Feb 10 01:35:42 2006
+++ llvm/lib/Target/Sparc/SparcAsmPrinter.cpp Wed Feb 15 01:07:14 2006
@@ -40,7 +40,7 @@
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";
}
More information about the llvm-commits
mailing list