summaryrefslogtreecommitdiffstats
path: root/lld
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-03-16 10:55:45 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-03-16 10:55:45 +0000
commita92dc2bbd32237362e7d7730e8dec3f2fd0f1ae9 (patch)
treea9b01d0f7fb522f5972dd5e2df13fc30c5aa4179 /lld
parentd3ea775894181d10dd67e8268d28745cfbe72c11 (diff)
downloadbcm5719-llvm-a92dc2bbd32237362e7d7730e8dec3f2fd0f1ae9.tar.gz
bcm5719-llvm-a92dc2bbd32237362e7d7730e8dec3f2fd0f1ae9.zip
[ELF] - Removed unused template #3. NFC.
llvm-svn: 297942
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 cff59308936..325da9cc660 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -958,8 +958,7 @@ bool createThunks(ArrayRef<OutputSection *> OutputSections) {
for (InputSection *IS : OS->Sections) {
for (Relocation &Rel : IS->Relocations) {
SymbolBody &Body = *Rel.Sym;
- if (Target->needsThunk(Rel.Expr, Rel.Type, IS->template getFile<ELFT>(),
- Body)) {
+ if (Target->needsThunk(Rel.Expr, Rel.Type, IS->File, Body)) {
Thunk *T;
bool IsNew;
std::tie(T, IsNew) = GetThunk(Body, Rel.Type);
OpenPOWER on IntegriCloud