diff options
Diffstat (limited to 'lld/ELF/Target.cpp')
| -rw-r--r-- | lld/ELF/Target.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp index 3822eaa7c08..d24bba2f397 100644 --- a/lld/ELF/Target.cpp +++ b/lld/ELF/Target.cpp @@ -1220,7 +1220,8 @@ AArch64TargetInfo::AArch64TargetInfo() { } bool AArch64TargetInfo::isRelRelative(uint32_t Type) const { - return Type == R_AARCH64_PREL32 || Type == R_AARCH64_ADR_PREL_PG_HI21; + return Type == R_AARCH64_PREL32 || Type == R_AARCH64_ADR_PREL_PG_HI21 || + Type == R_AARCH64_LDST8_ABS_LO12_NC; } bool AArch64TargetInfo::isTlsGlobalDynamicRel(unsigned Type) const { |

