1 @ RUN: llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o - \ 2 @ RUN: | llvm-readobj -r | FileCheck %s 3 4 5 bl end 6 .space 0x3fffff 7 end: 8 9 bl end2 10 .space 0x3fffff 11 .global end2 12 end2: 13 14 bl end3 15 .space 0x400000 16 .global end3 17 end3: 18 19 bl end4 20 .space 0x400000 21 end4: 22 23 @ CHECK: 0x400003 R_ARM_THM_CALL end2 0x0 24 @ CHECK: 0x800006 R_ARM_THM_CALL end3 0x0 25 @ CHECK: 0xC0000A R_ARM_THM_CALL end4 0x0 26