brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · c36a776 Raw
52 lines · plain
1# REQUIRES: system-linux2# RUN: rm -rf %t && mkdir -p %t3# RUN: llvm-mc -triple=systemz-unknown-linux -position-independent \4# RUN:     -mcpu=z16 -filetype=obj -o %t/elf_reloc.o %s5 6# RUN: llvm-jitlink -noexec \7# RUN:    -abs external_addr12=0xffe \8# RUN:    -abs external_addr16=0xfffe \9# RUN:    -abs external_addr24=0xffffe \10# RUN:     %t/elf_reloc.o -check %s11 12 13        .text14        .section        .text.main15        .globl  main16        .p2align        417        .type   main,@function18main:19        br   %r1420        .size main, .-main21 22# R_390_PLT16DBL23# jitlink-check: *{2}(test_plt16dbl + 4) = \24# jitlink-check:     (stub_addr(elf_reloc.o, external_addr16) - \25# jitlink-check:                test_plt16dbl) >> 126        .globl  test_plt16dbl27        .p2align 4 28test_plt16dbl:29	bpp   0, external_addr16@plt, 030        .size test_plt16dbl,.-test_plt16dbl31 32# R_390_PLT12DBL33# jitlink-check: ((*{2}(test_plt12dbl + 1)) & 0x0fff) = \34# jitlink-check:      (stub_addr(elf_reloc.o, external_addr12) - \35# jitlink-check:                 test_plt12dbl) >> 136        .globl  test_plt12dbl37        .p2align 4 38test_plt12dbl:39        bprp  0, external_addr12@plt, 0 40        .size test_plt12dbl,.-test_plt12dbl41 42# R_390_PLT24DBL43# jitlink-check: ((*{4}(test_plt24dbl + 2)) & 0x0ffffff) = \44# jitlink-check:       (stub_addr(elf_reloc.o, external_addr24) - \45# jitlink-check:                  test_plt24dbl) >> 146        .globl  test_plt24dbl47        .p2align 4 48test_plt24dbl:49        bprp  0, 0, external_addr24@plt 50        .size test_plt24dbl,.-test_plt24dbl51 52