Put cstrings in .cstring section when compiling for Mac OS X.
[oota-llvm.git] / lib / Target / X86 / X86TargetAsmInfo.cpp
index cf0854851902302c1deaaddfb26c357dae90c4ae..e67773711cbe07875d561550903170cad403be60 100644 (file)
@@ -32,6 +32,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
     PrivateGlobalPrefix = "L";     // Marker for constant pool idxs
     ConstantPoolSection = "\t.const\n";
     JumpTableDataSection = "\t.const\n";
+    CStringSection = "\t.cstring";
     FourByteConstantSection = "\t.literal4\n";
     EightByteConstantSection = "\t.literal8\n";
     if (Subtarget->is64Bit())