From: Chris Lattner Date: Thu, 23 Feb 2006 05:25:02 +0000 (+0000) Subject: "." isn't enough to get a private label on linux, use ".L". X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e650a6b3f41456318bf3b7b8fc2e8d29e23d1c04;p=oota-llvm.git "." isn't enough to get a private label on linux, use ".L". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26327 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index c3a873a1856..bd96cb93c7f 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -45,6 +45,7 @@ bool X86SharedAsmPrinter::doInitialization(Module &M) { const X86Subtarget *Subtarget = &TM.getSubtarget(); forDarwin = false; + PrivateGlobalPrefix = ".L"; switch (Subtarget->TargetType) { case X86Subtarget::isDarwin: