OSDN Git Service

Be consistent with gcc.
authorEvan Cheng <evan.cheng@apple.com>
Sun, 4 Jun 2006 07:24:07 +0000 (07:24 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 4 Jun 2006 07:24:07 +0000 (07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28682 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86AsmPrinter.cpp

index 72ce7ce..c366acc 100644 (file)
@@ -146,7 +146,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
         if (Subtarget->TargetType == X86Subtarget::isDarwin) {
           O << "\t.globl " << name << "\n"
             << "\t.weak_definition " << name << "\n";
-          SwitchToDataSection(".section __DATA,__datacoal_nt,coalesced", I);
+          SwitchToDataSection(".section __DATA,__const_coal,coalesced", I);
         } else if (Subtarget->TargetType == X86Subtarget::isCygwin) {
           O << "\t.section\t.llvm.linkonce.d." << name << ",\"aw\"\n"
             << "\t.weak " << name << "\n";