brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · 6a7ca8b Raw
75 lines · plain
1# REQUIRES: system-linux2# RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \3# RUN:         -defsym OFF12=0xffe -defsym OFF16=4 -defsym OFF24=6 \4# RUN:         -filetype=obj -o %t.o %s5#6# RUN: llvm-jitlink -noexec -abs OFF12=0xffe -abs OFF16=4 -abs OFF24=6 \7# RUN:                      -check=%s %t.o8#9# RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \10# RUN:         -defsym OFF12=6 -defsym OFF16=0xfffe -defsym OFF24=6 \11# RUN:         -filetype=obj -o %t.o %s12#13# RUN: llvm-jitlink -noexec -abs OFF12=6 -abs OFF16=0xfffe -abs OFF24=6 \14# RUN:                      -check=%s %t.o15#16# RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \17# RUN:         -defsym OFF12=6 -defsym OFF16=4 -defsym OFF24=0xfffffe \18# RUN:         -filetype=obj -o %t.o %s19#20# RUN: llvm-jitlink -noexec -abs OFF12=6 -abs OFF16=4 -abs OFF24=0xfffffe \21# RUN:                      -check=%s %t.o22#23# RUN: llvm-mc -triple=systemz-unknown-linux -mcpu=z16 -position-independent \24# RUN:         -defsym OFF12=6 -defsym OFF16=4 -defsym OFF24=6 \25# RUN:         -filetype=obj -o %t.o %s26#27# RUN: llvm-jitlink -noexec -abs OFF12=6 -abs OFF16=4 -abs OFF24=6 \28# RUN:                      -check=%s %t.o29 30# Check R_390_PC*dbl relocations.  R_390_PC32_DBL test is in 31# ELF_systemz_reloc_abs32.s because of large offset. 32 33        .text34        .section        .text.main35        .globl  main36        .p2align        437        .type   main,@function38main:39        br   %r1440        .size main, .-main41 42# R_390_PC16DBL43# jitlink-check: *{2}(test_pc16dbl + 2) = (OFF16 >> 1)44        .globl  test_pc16dbl45        .p2align 3 46test_pc16dbl:47        je   .Lpc16dbl48	.space OFF16 - 449.Lpc16dbl:50        jne  test_pc16dbl 51        .size test_pc16dbl,.-test_pc16dbl52 53# R_390_PC12DBL54# jitlink-check: ((*{2} (test_pc12dbl + 1)) & 0x0fff) = (OFF12 >> 1)55        .globl  test_pc12dbl56        .p2align 4 57test_pc12dbl:58        bprp  0, .Lpc12dbl, 0 59        .space OFF12 - 660.Lpc12dbl:61        bprp  0, test_pc12dbl, 0 62        .size test_pc12dbl,.-test_pc12dbl63 64# R_390_PC24DBL65# jitlink-check: ((*{4} (test_pc24dbl + 2)) & 0x0ffffff) = (OFF24 >> 1)66        .globl  test_pc24dbl67        .p2align 4 68test_pc24dbl:69        bprp  0, 0, .Lpc24dbl70        .space OFF24 - 671.Lpc24dbl:72        bprp  0, 0, test_pc24dbl73        .size test_pc24dbl,.-test_pc24dbl74 75