ELF: Remove accessors from Target.
These accessors do not provide values. We can simply make the variables public.
llvm-svn: 259141
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index 8c185f8..5c0fde8 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -226,7 +226,7 @@
else
SymVA = Out<ELFT>::Got->getEntryAddr(*Body);
if (Body->isTls())
- Type = Target->getTlsGotReloc(Type);
+ Type = Target->getTlsGotRel(Type);
} else if (!Target->needsCopyRel(Type, *Body) &&
isa<SharedSymbol<ELFT>>(*Body)) {
continue;