Private labels start with .L on linux, not just .
authorChris Lattner <sabre@nondot.org>
Wed, 3 Jan 2007 18:16:48 +0000 (18:16 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 3 Jan 2007 18:16:48 +0000 (18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32841 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetAsmInfo.cpp

index 4a0c1e78c6db1f91d3d99745cfec2fdd65c96b1d..bfd5858a0784a35e77f7518b0f4eff00f7c4347c 100644 (file)
@@ -86,7 +86,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
     // bool HasDotLoc; // Defaults to false.
     // HasDotFile - True if target asm supports .file directives.
     // bool HasDotFile; // Defaults to false.
-    PrivateGlobalPrefix = ".";  // Prefix for private global symbols
+    PrivateGlobalPrefix = ".L";
     WeakRefDirective = "\t.weak\t";
     DwarfRequiresFrameSection = false;
     DwarfAbbrevSection =  "\t.section\t.debug_abbrev,\"\",@progbits";