1 @ Test to ensure that a Thumb-2 B.W can branch to an ARM funtion. 2 3 .arch armv7-a 4 .global _start 5 .syntax unified 6 .text 7 .thumb_func 8 9 _start: 10 b.w bar 11 12 @ Put this in a separate section to force the assembler to generate a reloc 13 14 .arm 15 .section .after, "xa" 16 .global bar 17 .type bar, %function 18 bar: 19 bx lr 20 21