[llvm] [JITLink][AArch32] Add support for ELF::R_ARM_THM_MOV{W_PREL_NC,T_PREL} (PR #70364)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 00:41:23 PST 2023
================
@@ -95,6 +96,34 @@ data_symbol:
.text
+# CHECK-TYPE: {{[0-9a-f]+}} R_ARM_THM_MOVW_PREL_NC external_func
+# CHECK-INSTR: 00000014 <movw_prel>:
+# CHECK-INSTR: 14: f240 0000 movw r0, #0x0
+# jitlink-check: decode_operand(movw_prel, 1) = \
+# jitlink-check: ((external_func - next_pc(movw_prel) + 4)&0x0000ffff)
----------------
weliveindetail wrote:
Perfect, thanks!
https://github.com/llvm/llvm-project/pull/70364
More information about the llvm-commits
mailing list