diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-17 17:43:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-17 17:43:33 +0000 |
commit | 42ca450a5739d82ae2269bf47f9f44e9c5d25139 (patch) | |
tree | ba7b705537d10be92cb8dbfecdfd410c1b2ebc51 /lib/Target/X86/X86TargetAsmInfo.cpp | |
parent | 6f198dfb38f666062754d724a51c09775752dbdc (diff) |
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
Diffstat (limited to 'lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86TargetAsmInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index d80996fe16..1735220ae2 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"; |