darwin doesn't support .bss, but it does have .zerofill
authorChris Lattner <sabre@nondot.org>
Wed, 17 Jan 2007 17:43:33 +0000 (17:43 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 17 Jan 2007 17:43:33 +0000 (17:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33303 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetAsmInfo.cpp

index d80996fe161a6378ace69a7bfc11471b257ee3cc..1735220ae2c206dc078077edaa397916229291d2 100644 (file)
@@ -47,6 +47,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
       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";