brintos

brintos / llvm-project-archived public Read only

0
0
Text · 872 B · 9940842 Raw
37 lines · plain
1# RUN: llvm-mc -triple=avr %s | FileCheck --check-prefix=PRINT %s2# RUN: llvm-mc -filetype=obj -triple=avr %s | llvm-readobj -r - | FileCheck %s3 4# PRINT:      .reloc {{.*}}+4, R_AVR_NONE, .data5 6# CHECK:      Section ({{.*}}) .rela.text {7# CHECK-NEXT:   0x4 R_AVR_NONE .data 0x08# CHECK-NEXT:   0x2 R_AVR_NONE foo 0x49# CHECK-NEXT:   0x0 R_AVR_NONE - 0x810# CHECK-NEXT:   0x0 R_AVR_32 .data 0x211# CHECK-NEXT:   0x0 R_AVR_16 foo 0x312# CHECK-NEXT:   0x0 R_AVR_NONE - 0x913# CHECK-NEXT:   0x0 R_AVR_16 - 0x914# CHECK-NEXT:   0x0 R_AVR_32 - 0x915# CHECK-NEXT: }16 17.text18  .reloc .+4, R_AVR_NONE, .data19  .reloc .+2, R_AVR_NONE, foo+420  .reloc .+0, R_AVR_NONE, 821 22  .reloc .+0, R_AVR_32, .data+223  .reloc .+0, R_AVR_16, foo+324 25  .reloc .+0, BFD_RELOC_NONE, 926  .reloc .+0, BFD_RELOC_16, 927  .reloc .+0, BFD_RELOC_32, 928  ret29  nop30  nop31 32.data33.globl foo34foo:35  .word 036  .word 037