summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
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
commitb672ab9b532f2cd625209189be9a1fda859ce78f (patch)
tree962825fa653c3b7aae8faca51c6732ad4665ab06 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent2092dc2acd23d55055484621d9b63e358821e89b (diff)
downloadbcm5719-llvm-b672ab9b532f2cd625209189be9a1fda859ce78f.tar.gz
bcm5719-llvm-b672ab9b532f2cd625209189be9a1fda859ce78f.zip
Don't emit the linkage for initializer label for mach-o tls.
llvm-svn: 106073
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 2b57a683878..e703461d61a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud