summaryrefslogtreecommitdiffstats
path: root/lld
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-03-16 10:48:40 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-03-16 10:48:40 +0000
commitd3ea775894181d10dd67e8268d28745cfbe72c11 (patch)
tree2876ceb37d81650b65331318c3cb20c5db654c13 /lld
parent814e0df1c53c9f98eba7315656e11b6311b486e3 (diff)
downloadbcm5719-llvm-d3ea775894181d10dd67e8268d28745cfbe72c11.tar.gz
bcm5719-llvm-d3ea775894181d10dd67e8268d28745cfbe72c11.zip
[ELF] - Removed unused template #2. NFC.
llvm-svn: 297941
Diffstat (limited to 'lld')
-rw-r--r--lld/ELF/Relocations.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index 81894787679..cff59308936 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -861,7 +861,6 @@ template <class ELFT> void scanRelocations(InputSectionBase &S) {
// in the Sections vector, and recalculate the InputSection output section
// offsets.
// This may invalidate any output section offsets stored outside of InputSection
-template <class ELFT>
static void mergeThunks(OutputSection *OS,
std::vector<ThunkSection *> &Thunks) {
// Order Thunks in ascending OutSecOff
@@ -983,7 +982,7 @@ bool createThunks(ArrayRef<OutputSection *> OutputSections) {
// Merge all created synthetic ThunkSections back into OutputSection
for (auto &KV : ThunkSections)
- mergeThunks<ELFT>(KV.first, KV.second);
+ mergeThunks(KV.first, KV.second);
return !ThunkSections.empty();
}
OpenPOWER on IntegriCloud