summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Writer.cpp')
-rw-r--r--lld/ELF/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 2705843ff61..c4d515ce0e8 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -512,7 +512,7 @@ static bool isRelRelative(RelExpr E, uint32_t Type, const SymbolBody &Body) {
if (!AbsVal && RelE)
return true;
- return Target->isRelRelative(Type);
+ return Target->usesOnlyLowPageBits(Type);
}
// The reason we have to do this early scan is as follows
OpenPOWER on IntegriCloud