summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-01-23 01:49:37 +0000
committerSean Silva <chisophugis@gmail.com>2016-01-23 01:49:37 +0000
commitf1c5a0f09cb1444e43cf605b0a22aeac39cd6f85 (patch)
treebc646476755bf78838cee664f3e0246c032e8291 /lld/ELF/OutputSections.cpp
parent6dcb8149a5c50059a97ecccbb6cfd0a25839a8c1 (diff)
downloadbcm5719-llvm-f1c5a0f09cb1444e43cf605b0a22aeac39cd6f85.tar.gz
bcm5719-llvm-f1c5a0f09cb1444e43cf605b0a22aeac39cd6f85.zip
[ELF] Avoid unnecessary global variable.
Summary: It looks like this snuck through in r256143/D15383. Reviewers: ruiu, grimar Differential Revision: http://reviews.llvm.org/D16500 llvm-svn: 258599
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r--lld/ELF/OutputSections.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index f6f5d96d974..938e63ae544 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -23,8 +23,6 @@ using namespace llvm::ELF;
using namespace lld;
using namespace lld::elf2;
-bool elf2::HasGotOffRel = false;
-
template <class ELFT>
OutputSectionBase<ELFT>::OutputSectionBase(StringRef Name, uint32_t Type,
uintX_t Flags)
OpenPOWER on IntegriCloud