Skip to content

Commit f9277ca

Browse files
committed
[ELF][test] Fix R_AARCH64_ADR_PREL_PG_HI21 typo
Found by redfast00
1 parent 928cad5 commit f9277ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lld/test/ELF/aarch64-relocs.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ msgend:
1919
# CHECK: 4:
2020
# #4 is the adr immediate value.
2121

22-
.section .R_AARCH64_ADR_PREL_PG_H121,"ax",@progbits
22+
.section .R_AARCH64_ADR_PREL_PG_HI21,"ax",@progbits
2323
adrp x1,mystr
2424
mystr:
2525
.asciz "blah"
2626
.size mystr, 4
2727

2828
# PAGE(S + A) - PAGE(P) = PAGE(210136) - PAGE(0x210132) = 0
2929
#
30-
# CHECK: Disassembly of section .R_AARCH64_ADR_PREL_PG_H121:
30+
# CHECK: Disassembly of section .R_AARCH64_ADR_PREL_PG_HI21:
3131
# CHECK-EMPTY:
3232
# CHECK-NEXT: <$x.2>:
3333
# CHECK-NEXT: 210132: 01 00 00 90 adrp x1, 0x210000

0 commit comments

Comments
 (0)