summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/Relocations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index e9ecf5fa49e..0643b87fa87 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -789,13 +789,13 @@ static void scanRelocs(InputSectionBase &C, ArrayRef<RelTy> Rels) {
continue;
if (Body.isGnuIFunc() && !Preemptible) {
- In<ELFT>::Iplt->addEntry<ELFT>(Body);
+ InX::Iplt->addEntry<ELFT>(Body);
In<ELFT>::IgotPlt->addEntry(Body);
In<ELFT>::RelaIplt->addReloc({Target->IRelativeRel, In<ELFT>::IgotPlt,
Body.getGotPltOffset(), !Preemptible,
&Body, 0});
} else {
- In<ELFT>::Plt->addEntry<ELFT>(Body);
+ InX::Plt->addEntry<ELFT>(Body);
In<ELFT>::GotPlt->addEntry(Body);
In<ELFT>::RelaPlt->addReloc({Target->PltRel, In<ELFT>::GotPlt,
Body.getGotPltOffset(), !Preemptible,
OpenPOWER on IntegriCloud