Remove TargetInfo::getImageBase. NFC.
llvm-svn: 275447
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp
index 437a500..466d1b4 100644
--- a/lld/ELF/Target.cpp
+++ b/lld/ELF/Target.cpp
@@ -250,10 +250,6 @@
return 0;
}
-uint64_t TargetInfo::getImageBase() const {
- return Config->Pic ? 0 : ImageBase;
-}
-
bool TargetInfo::usesOnlyLowPageBits(uint32_t Type) const { return false; }
RelExpr TargetInfo::getThunkExpr(RelExpr Expr, uint32_t RelocType,
@@ -997,7 +993,7 @@
//
// And because the lowest non-zero 256M boundary is 0x10000000, PPC64 linkers
// use 0x10000000 as the starting address.
- ImageBase = 0x10000000;
+ DefaultImageBase = 0x10000000;
}
static uint64_t PPC64TocOffset = 0x8000;