summaryrefslogtreecommitdiff
path: root/ELF/Writer.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:13 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:13 +0000
commit2dcc0c5ee66570f02392d1fbf29f573fa47258f8 (patch)
tree53ad75bacc9bf483218972b47eaf90b71f09a642 /ELF/Writer.cpp
parent022ebf5bbf58ca2dd943d3376cc95a6b206db799 (diff)
Notes
Diffstat (limited to 'ELF/Writer.cpp')
-rw-r--r--ELF/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Writer.cpp b/ELF/Writer.cpp
index 4cdfce76202c..4be6fe53c18b 100644
--- a/ELF/Writer.cpp
+++ b/ELF/Writer.cpp
@@ -1223,7 +1223,7 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() {
// we need to assign addresses so that we can tell if jump instructions
// are out of range. This will need to turn into a loop that converges
// when no more Thunks are added
- ThunkCreator<ELFT> TC;
+ ThunkCreator TC;
if (TC.createThunks(OutputSections))
applySynthetic({InX::MipsGot},
[](SyntheticSection *SS) { SS->updateAllocSize(); });