silence more self assignment warnings.
[oota-llvm.git] / lib / Target / X86 / X86MCAsmInfo.cpp
index f45fdf5a3fb3da9d506759553951c6f788acb394..7732372f2032d0a353d8ea3b58974bb99d94684a 100644 (file)
@@ -103,8 +103,10 @@ getNonexecutableStackSection(MCContext &Ctx) const {
 }
 
 X86MCAsmInfoCOFF::X86MCAsmInfoCOFF(const Triple &Triple) {
-  if (Triple.getArch() == Triple::x86_64)
+  if (Triple.getArch() == Triple::x86_64) {
     GlobalPrefix = "";
+    PrivateGlobalPrefix = ".L";
+  }
 
   AsmTransCBE = x86_asm_table;
   AssemblerDialect = AsmWriterFlavor;