summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorKai Nacke <kai.nacke@redstar.de>2014-02-04 06:07:00 +0000
committerKai Nacke <kai.nacke@redstar.de>2014-02-04 06:07:00 +0000
commitab7ee461c2a1b356ba5d67a41159ac73d87366c8 (patch)
treeef94de178ce5e3813f439991b70e8702ee303a95 /llvm/lib
parenta56bb7802199d3202535de2c44ea253dbc18f0b6 (diff)
downloadbcm5719-llvm-ab7ee461c2a1b356ba5d67a41159ac73d87366c8.tar.gz
bcm5719-llvm-ab7ee461c2a1b356ba5d67a41159ac73d87366c8.zip
Revert: ARM: Enable use of relocation type tlsldo in debug info for tls data.
There seems to be a new problem with the debug info in the test case. I'll have to investigate this. llvm-svn: 200737
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetObjectFile.cpp6
-rw-r--r--llvm/lib/Target/ARM/ARMTargetObjectFile.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
index e6b8cce0915..1c5dc51e7fa 100644
--- a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
@@ -51,9 +51,3 @@ getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang,
MCSymbolRefExpr::VK_ARM_TARGET2,
getContext());
}
-
-const MCExpr *ARMElfTargetObjectFile::
-getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
- return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_ARM_TLSLDO,
- getContext());
-}
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.h b/llvm/lib/Target/ARM/ARMTargetObjectFile.h
index cb86896c03a..7f60727e530 100644
--- a/llvm/lib/Target/ARM/ARMTargetObjectFile.h
+++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.h
@@ -36,9 +36,6 @@ public:
virtual const MCSection *getAttributesSection() const {
return AttributesSection;
}
-
- /// \brief Describe a TLS variable address within debug info.
- virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
};
} // end namespace llvm
OpenPOWER on IntegriCloud