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 | 88b45f9a2c61f80d801c75fa13b1c37c94bb8dd9 (patch) | |
| tree | bbbb2f1ed53a776295ef9e8d3b0d93d45986d59b /llvm/lib | |
| parent | 1ceb643f31d5f0a2770846ed103add8bb8b22df3 (diff) | |
| download | bcm5719-llvm-88b45f9a2c61f80d801c75fa13b1c37c94bb8dd9.tar.gz bcm5719-llvm-88b45f9a2c61f80d801c75fa13b1c37c94bb8dd9.zip | |
darwin doesn't support .bss, but it does have .zerofill
llvm-svn: 33303
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index d80996fe161..1735220ae2c 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/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"; |

