From e650a6b3f41456318bf3b7b8fc2e8d29e23d1c04 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 23 Feb 2006 05:25:02 +0000 Subject: [PATCH] "." 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 --- lib/Target/X86/X86AsmPrinter.cpp | 1 + 1 file changed, 1 insertion(+) 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: -- 2.34.1