blob: eb097211d55da917b644c638e806b6ef562c347f [file] [log] [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: }
.section .text.insection
.globl global
local:
global:
b local
b global
@CHECK: Section {{.*}} .rel.text.insection {
@CHECK-NEXT: 0x2 R_ARM_THM_JUMP11 global
@CHECK-NEXT: }