From: Eric Christopher Date: Wed, 16 Jun 2010 00:27:30 +0000 (+0000) Subject: Don't emit the linkage for initializer label for mach-o tls. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7500e06e3886a13e3017d7af77c35d309e875182;p=oota-llvm.git Don't emit the linkage for initializer label for mach-o tls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106073 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 2b57a683878..e703461d61a 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -330,7 +330,6 @@ void AsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) { else if (GVKind.isThreadData()) { OutStreamer.SwitchSection(TheSection); - EmitLinkage(GV->getLinkage(), MangSym); EmitAlignment(AlignLog, GV); OutStreamer.EmitLabel(MangSym);