diff options
Diffstat (limited to 'lld/ELF/Writer.cpp')
-rw-r--r-- | lld/ELF/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 81d8c048299..9e063da6e87 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -366,7 +366,7 @@ void Writer<ELFT>::scanRelocs( // An STT_GNU_IFUNC symbol always uses a PLT entry, and all references // to the symbol go through the PLT. This is true even for a local // symbol, although local symbols normally do not require PLT entries. - if (isGnuIFunc<ELFT>(Body)) { + if (Body.isGnuIfunc<ELFT>()) { if (Body.isInPlt()) continue; Out<ELFT>::Plt->addEntry(Body); |