aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/DarwinTargetAsmInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r--lib/Target/DarwinTargetAsmInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/DarwinTargetAsmInfo.cpp b/lib/Target/DarwinTargetAsmInfo.cpp
index 808074f410..533085a107 100644
--- a/lib/Target/DarwinTargetAsmInfo.cpp
+++ b/lib/Target/DarwinTargetAsmInfo.cpp
@@ -36,6 +36,8 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo() {
WeakRefDirective = "\t.weak_reference ";
HiddenDirective = "\t.private_extern ";
LCOMMDirective = "\t.lcomm\t";
+ ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
+ ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill
// _foo.eh symbols are currently always exported so that the linker knows
// about them. This is not necessary on 10.6 and later, but it