llvm.org GIT mirror llvm / stable test / MC / ARM / thumb1-branch-reloc.s
stable

Tree @stable (Download .tar.gz)

thumb1-branch-reloc.s @stableraw · history · blame

@ RUN: llvm-mc -triple thumbv6-eabi -filetype obj -o - %s | llvm-readobj -r - \
@ RUN:     | FileCheck %s

        .syntax unified

        .extern h
        .section .text.uncond

        b h
        
@CHECK: Section {{.*}} .rel.text.uncond {
@CHECK:   0x0 R_ARM_THM_JUMP11
@CHECK: }
        .section .text.cond

        ble h

@CHECK: Section {{.*}} .rel.text.cond {
@CHECK:   0x0 R_ARM_THM_JUMP8
@CHECK: }