Home | History | Annotate | Download | only in arm
      1 	.arch armv5te
      2 
      3 	.text
      4 	.align 2
      5 	.code 32
      6 	.type myfunction, %function
      7 myfunction:
      8 	bx r14
      9 
     10 	.text
     11 	.align 2
     12 	.code 16
     13 	.thumb_func
     14 	.global caller
     15 	.type caller, %function
     16 caller:
     17 	nop
     18 	bl myfunction
     19 	nop
     20 	bl myfunction
     21 	nop
     22 	bl myfunction
     23 	nop
     24 	bl myfunction
     25 
     26 	.text
     27 	.align 2
     28 	.code 16
     29 	.type mythumbfunction, %function
     30 	.thumb_func
     31 mythumbfunction:
     32 	bx r14
     33 
     34 	.text
     35 	.align 2
     36 	.code 32
     37 	.global armcaller
     38 	.type armcaller, %function
     39 armcaller:
     40 	bl mythumbfunction
     41 
     42