diff options
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r-- | lld/ELF/OutputSections.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 190d5543f12..e3e3fef8be5 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -650,7 +650,7 @@ typename ELFFile<ELFT>::uintX_t lld::elf2::getSymVA(const SymbolBody &S) { return Out<ELFT>::Bss->getVA() + cast<DefinedCommon<ELFT>>(S).OffsetInBSS; case SymbolBody::SharedKind: { auto &SS = cast<SharedSymbol<ELFT>>(S); - if (SS.NeedsCopy) + if (SS.needsCopy()) return Out<ELFT>::Bss->getVA() + SS.OffsetInBSS; return 0; } @@ -1005,7 +1005,7 @@ void SymbolTableSection<ELFT>::writeGlobalSymbols(uint8_t *Buf) { OutSec = Out<ELFT>::Bss; break; case SymbolBody::SharedKind: { - if (cast<SharedSymbol<ELFT>>(Body)->NeedsCopy) + if (cast<SharedSymbol<ELFT>>(Body)->needsCopy()) OutSec = Out<ELFT>::Bss; break; } |