1@ Test to ensure that ARM calls exceeding 32Mb generate stubs. 2 3 .global _start 4 .syntax unified 5 6@ We will place the section .text at 0x1000. 7 8 .text 9 10_start: 11 bl bar 12 bl bar2 13 bl bar3 14 bl bar4 15 bl bar5 16 17@ We will place the section .foo at 0x2002020. 18 19 .section .foo, "xa" 20 21 .global bar 22 .thumb_func 23bar: 24 bx lr 25 26 .arm 27 .global bar2 28 .type bar2, %function 29bar2: 30 bx lr 31 32 .global bar3 33 .type bar3, %function 34bar3: 35 bx lr 36 37 .global bar4 38 .thumb_func 39bar4: 40 bx lr 41 42 .global bar5 43 .type bar5, %function 44bar5: 45 bx lr 46 47