1@ RUN: llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o - \ 2@ RUN: | llvm-readobj -r - | FileCheck %s 3 .syntax unified 4 5 .text 6 .align 2 7 .globl main 8 .type main,%function 9 .thumb_func 10main: 11 bl end 12 .space 8192 13end: 14 bl main2 15 bx lr 16 17 .text 18 .align 2 19 .globl main2 20 .type main2,%function 21 .thumb_func 22main2: 23 bx lr 24 25@ CHECK-NOT: 0x0 R_ARM_THM_CALL end 0x0 26@ CHECK: 0x2004 R_ARM_THM_CALL main2 0x0 27