[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetAsmInfo.cpp

Chris Lattner sabre at nondot.org
Wed Jan 17 09:43:55 PST 2007



Changes in directory llvm/lib/Target/X86:

X86TargetAsmInfo.cpp updated: 1.28 -> 1.29
---
Log message:

darwin doesn't support .bss, but it does have .zerofill


---
Diffs of the changes:  (+2 -0)

 X86TargetAsmInfo.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/X86/X86TargetAsmInfo.cpp
diff -u llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.28 llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.29
--- llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.28	Tue Jan 16 03:29:17 2007
+++ llvm/lib/Target/X86/X86TargetAsmInfo.cpp	Wed Jan 17 11:43:33 2007
@@ -47,6 +47,8 @@
       Data64bitsDirective = 0;       // we can't emit a 64-bit unit
     ZeroDirective = "\t.space\t";  // ".space N" emits N zeros.
     PrivateGlobalPrefix = "L";     // Marker for constant pool idxs
+    BSSSection = 0;                       // no BSS section.
+    ZeroFillDirective = "\t.zerofill\t";  // Uses .zerofill
     ConstantPoolSection = "\t.const\n";
     JumpTableDataSection = "\t.const\n";
     CStringSection = "\t.cstring";






More information about the llvm-commits mailing list