aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-06-16 00:27:30 +0000
committerEric Christopher <echristo@apple.com>2010-06-16 00:27:30 +0000
commit7500e06e3886a13e3017d7af77c35d309e875182 (patch)
treedd3b7f8bea73d3b0929a68b4ef3e2f8bf6c70d92
parente48dbf8d839dd7aa3cfb257b9c495f25987547b4 (diff)
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
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 2b57a68387..e703461d61 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);