[lld] f9277ca - [ELF][test] Fix R_AARCH64_ADR_PREL_PG_HI21 typo
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 31 13:09:59 PDT 2021
Author: Fangrui Song
Date: 2021-08-31T13:09:55-07:00
New Revision: f9277caffc0a1f311aaba784678c50c6c6b90d75
URL: https://github.com/llvm/llvm-project/commit/f9277caffc0a1f311aaba784678c50c6c6b90d75
DIFF: https://github.com/llvm/llvm-project/commit/f9277caffc0a1f311aaba784678c50c6c6b90d75.diff
LOG: [ELF][test] Fix R_AARCH64_ADR_PREL_PG_HI21 typo
Found by redfast00
Added:
Modified:
lld/test/ELF/aarch64-relocs.s
Removed:
################################################################################
diff --git a/lld/test/ELF/aarch64-relocs.s b/lld/test/ELF/aarch64-relocs.s
index 089da40a60bcb..0018744c4a13d 100644
--- a/lld/test/ELF/aarch64-relocs.s
+++ b/lld/test/ELF/aarch64-relocs.s
@@ -19,7 +19,7 @@ msgend:
# CHECK: 4:
# #4 is the adr immediate value.
-.section .R_AARCH64_ADR_PREL_PG_H121,"ax", at progbits
+.section .R_AARCH64_ADR_PREL_PG_HI21,"ax", at progbits
adrp x1,mystr
mystr:
.asciz "blah"
@@ -27,7 +27,7 @@ mystr:
# PAGE(S + A) - PAGE(P) = PAGE(210136) - PAGE(0x210132) = 0
#
-# CHECK: Disassembly of section .R_AARCH64_ADR_PREL_PG_H121:
+# CHECK: Disassembly of section .R_AARCH64_ADR_PREL_PG_HI21:
# CHECK-EMPTY:
# CHECK-NEXT: <$x.2>:
# CHECK-NEXT: 210132: 01 00 00 90 adrp x1, 0x210000
More information about the llvm-commits
mailing list