diff --git a/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_got.s b/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_got.s index 7da48cfa704e2..7b16ecbfa07e5 100644 --- a/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_got.s +++ b/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_got.s @@ -213,14 +213,16 @@ test_gotplt64_bar: .size test_gotplt64_bar, .-test_gotplt64_bar .globl test_gotpc_foo -# jitlink-check: *{4}test_gotpc_foo = _GLOBAL_OFFSET_TABLE_ - test_gotpc_foo +# jitlink-check: *{4}test_gotpc_foo = (_GLOBAL_OFFSET_TABLE_ - test_gotpc_foo) \ +# jitlink-check: & 0xffffffff test_gotpc_foo: .reloc ., R_390_GOTPC, foo .space 4 .size test_gotpc_foo, .-test_gotpc_foo .globl test_gotpc_bar -# jitlink-check: *{4}test_gotpc_bar = _GLOBAL_OFFSET_TABLE_ - test_gotpc_bar +# jitlink-check: *{4}test_gotpc_bar = (_GLOBAL_OFFSET_TABLE_ - test_gotpc_bar) \ +# jitlink-check: & 0xffffffff test_gotpc_bar: .reloc ., R_390_GOTPC, bar .space 4 diff --git a/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_pcdbl.s b/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_pcdbl.s index efe8357e76bef..c36eaaa3988f3 100644 --- a/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_pcdbl.s +++ b/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_pcdbl.s @@ -1,31 +1,31 @@ # REQUIRES: system-linux # RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \ # RUN: -defsym OFF12=0xffe -defsym OFF16=4 -defsym OFF24=6 \ -# RUN: -defsym OFF32=6 -filetype=obj -o %t.o %s +# RUN: -filetype=obj -o %t.o %s # # RUN: llvm-jitlink -noexec -abs OFF12=0xffe -abs OFF16=4 -abs OFF24=6 \ -# RUN: -abs OFF32=6 -check=%s %t.o +# RUN: -check=%s %t.o # # RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \ # RUN: -defsym OFF12=6 -defsym OFF16=0xfffe -defsym OFF24=6 \ -# RUN: -defsym OFF32=6 -filetype=obj -o %t.o %s +# RUN: -filetype=obj -o %t.o %s # # RUN: llvm-jitlink -noexec -abs OFF12=6 -abs OFF16=0xfffe -abs OFF24=6 \ -# RUN: -abs OFF32=6 -check=%s %t.o +# RUN: -check=%s %t.o # # RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \ # RUN: -defsym OFF12=6 -defsym OFF16=4 -defsym OFF24=0xfffffe \ -# RUN: -defsym OFF32=6 -filetype=obj -o %t.o %s +# RUN: -filetype=obj -o %t.o %s # # RUN: llvm-jitlink -noexec -abs OFF12=6 -abs OFF16=4 -abs OFF24=0xfffffe \ -# RUN: -abs OFF32=6 -check=%s %t.o +# RUN: -check=%s %t.o # # RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \ # RUN: -defsym OFF12=6 -defsym OFF16=4 -defsym OFF24=6 \ -# RUN: -defsym OFF32=0xffffffc8 -filetype=obj -o %t.o %s +# RUN: -filetype=obj -o %t.o %s # # RUN: llvm-jitlink -noexec -abs OFF12=6 -abs OFF16=4 -abs OFF24=6 \ -# RUN: -abs OFF32=0xffffffc8 -check=%s %t.o +# RUN: -check=%s %t.o # Check R_390_PC*dbl relocations. @@ -49,17 +49,6 @@ test_pc16dbl: jne test_pc16dbl .size test_pc16dbl,.-test_pc16dbl -# R_390_PC32DBL -# jitlink-check: *{4}(test_pc32dbl + 2) = (OFF32 >> 1) - .globl test_pc32dbl - .p2align 3 -test_pc32dbl: - jge .Lpc32dbl - .space OFF32 - 6 -.Lpc32dbl: - jgne test_pc32dbl - .size test_pc32dbl,.-test_pc32dbl - # R_390_PC12DBL # jitlink-check: ((*{2} (test_pc12dbl + 1)) & 0x0fff) = (OFF12 >> 1) .globl test_pc12dbl diff --git a/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_plt.s b/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_plt.s index 47f064b45816a..dab2f66aa334a 100644 --- a/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_plt.s +++ b/llvm/test/ExecutionEngine/JITLink/systemz/ELF_systemz_reloc_plt.s @@ -23,7 +23,7 @@ main: .globl test_plt32_foo # jitlink-check: *{4}test_plt32_foo = \ -# jitlink-check: stub_addr(elf_reloc.o, foo) - test_plt32_foo +# jitlink-check: (stub_addr(elf_reloc.o, foo) - test_plt32_foo) & 0xffffffff test_plt32_foo: .reloc ., R_390_PLT32, foo .space 4 @@ -31,7 +31,7 @@ test_plt32_foo: .globl test_plt32_bar # jitlink-check: *{4}test_plt32_bar = \ -# jitlink-check: stub_addr(elf_reloc.o, bar) - test_plt32_bar +# jitlink-check: (stub_addr(elf_reloc.o, bar) - test_plt32_bar) & 0xffffffff test_plt32_bar: .reloc ., R_390_PLT32, bar .space 4