Skip to content

Commit d50e05e

Browse files
committed
Replace the ARM PC constant with next_pc in got test
1 parent 1391f04 commit d50e05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ target1_abs32:
5050
# The +12 accounts for the ARM branch offset (8) and the .LPC offset (4), which
5151
# is stored as initial addend inline.
5252
# FIXME: We shouldn't need to substract the 64-bit sign-extension manually.
53-
# jitlink-check: *{4}got_prel_offset = got_addr(out.o, target) - (got_prel + 12) - 0xffffffff00000000
53+
# jitlink-check: *{4}got_prel_offset = got_addr(out.o, target) - (next_pc(got_prel) + 4) - 0xffffffff00000000
5454
.globl got_prel
5555
.type got_prel,%function
5656
.p2align 2

0 commit comments

Comments
 (0)