Skip to content

Commit 1483be7

Browse files
committed
[AArch64][ELF] Updated the synthax and fixed the lld test
As a result of review feedback, updated the synthax for the change and first attempt to fix lld test that was failing due to missalignment
1 parent 2aa199f commit 1483be7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lld/test/ELF/aarch64-relocs.s

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,16 @@ foo128:
111111
.asciz "foo"
112112
.size mystr, 3
113113

114-
# S = 0x21016c, A = 0x4
115-
# R = ((S + A) & 0xFF8) << 6 = 0x00005c00
116-
# 0x00005c00 | 0x3dc00274 = 0x3dc05e74
114+
# S = 210180, A = 0x4
115+
# R = ((S + A) & 0xFF8) << 6 = 0x00006000
116+
# 0x00006000 | 0x3dc00274 = 0x3dc06274
117117
# CHECK: Disassembly of section .R_AARCH64_LDST128_ABS_LO12_NC:
118118
# CHECK-EMPTY:
119119
# CHECK: <ldst128>:
120120
# CHECK: 210180: 3dc06674 ldr q20, [x19, #400]
121121
#foo128:
122-
# 210170: 66 6f 6f 00 .word
122+
# CHECK: <foo128>:
123+
# CHECK-NEXT: 210190: 66 6f 6f 00 .word
123124

124125
.section .R_AARCH64_LDST16_ABS_LO12_NC,"ax",@progbits
125126
ldst16:

0 commit comments

Comments
 (0)