From 42ca450a5739d82ae2269bf47f9f44e9c5d25139 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 17 Jan 2007 17:43:33 +0000 Subject: [PATCH] darwin doesn't support .bss, but it does have .zerofill git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33303 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86TargetAsmInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index d80996fe161..1735220ae2c 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -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"; -- 2.34.1