We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a3bb54 commit 40afcb5Copy full SHA for 40afcb5
lld/ELF/Target.cpp
@@ -1221,7 +1221,8 @@ AArch64TargetInfo::AArch64TargetInfo() {
1221
1222
bool AArch64TargetInfo::isRelRelative(uint32_t Type) const {
1223
return Type == R_AARCH64_PREL32 || Type == R_AARCH64_ADR_PREL_PG_HI21 ||
1224
- Type == R_AARCH64_LDST8_ABS_LO12_NC;
+ Type == R_AARCH64_LDST8_ABS_LO12_NC ||
1225
+ Type == R_AARCH64_LDST32_ABS_LO12_NC;
1226
}
1227
1228
bool AArch64TargetInfo::isTlsGlobalDynamicRel(unsigned Type) const {
lld/test/ELF/aarch64-relative.s
@@ -4,6 +4,7 @@
4
// RUN: llvm-readobj -r %t.so | FileCheck %s
5
adrp x8, .Lfoo
6
strb w9, [x8, :lo12:.Lfoo]
7
+ ldr w0, [x8, :lo12:.Lfoo]
8
9
.data
10
.Lfoo:
0 commit comments