brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 78c36e1 Raw
46 lines · plain
1# RUN: llvm-mc -triple=s390x-linux-gnu %s | FileCheck --check-prefix=PRINT %s2 3# RUN: llvm-mc -filetype=obj -triple=s390x-linux-gnu %s -o %t4# RUN: llvm-readobj -r %t | FileCheck %s5 6# PRINT:      .reloc {{.*}}+2, R_390_NONE, .data7 8# CHECK:      0x2 R_390_NONE .data 0x09# CHECK-NEXT: 0x1 R_390_NONE foo 0x410# CHECK-NEXT: 0x0 R_390_NONE - 0x811# CHECK-NEXT: 0x0 R_390_64 .data 0x212# CHECK-NEXT: 0x0 R_390_GOTENT foo 0x313# CHECK-NEXT: 0x0 R_390_PC32DBL - 0x614# CHECK-NEXT: 0x4 R_390_12 foo 0x015# CHECK-NEXT: 0x2 R_390_20 foo 0x016# CHECK-NEXT: 0x0 R_390_NONE - 0x917# CHECK-NEXT: 0x0 R_390_8 - 0x918# CHECK-NEXT: 0x0 R_390_16 - 0x919# CHECK-NEXT: 0x0 R_390_32 - 0x920# CHECK-NEXT: 0x0 R_390_64 - 0x921 22.text23  .reloc .+2, R_390_NONE, .data24  .reloc .+1, R_390_NONE, foo+425  .reloc .+0, R_390_NONE, 826  .reloc .+0, R_390_64, .data+227  .reloc .+0, R_390_GOTENT, foo+328  .reloc .+0, R_390_PC32DBL, 629  .reloc .+4, R_390_12, foo30  .reloc .+2, R_390_20, foo31 32  .reloc .+0, BFD_RELOC_NONE, 933  .reloc .+0, BFD_RELOC_8, 934  .reloc .+0, BFD_RELOC_16, 935  .reloc .+0, BFD_RELOC_32, 936  .reloc .+0, BFD_RELOC_64, 937  br %r1438  nop39  nop40 41.data42.globl foo43foo:44  .word 045  .word 046