Home | History | Annotate | Download | only in ld-arm
      1 	.syntax unified
      2 	.cpu cortex-a8
      3 	.thumb
      4 	.text
      5 
      6 	@ expansion 32 bytes
      7         .macro bw1
      8 1:
      9         add.w r0, r1, r2
     10         b.w targetfn
     11         add.w r0, r1, r2
     12         b.w targetfn
     13         add.w r0, r1, r2
     14         b.w targetfn
     15         add.w r0, r1, r2
     16         b.w targetfn
     17         .endm
     18 
     19         @ expansion 128 bytes
     20         .macro bw2
     21         bw1
     22         bw1
     23         bw1
     24         bw1
     25         .endm
     26 
     27         .align  3
     28         .global _start
     29         .thumb
     30         .thumb_func
     31         .type   _start, %function
     32 _start:
     33 	nop
     34 
     35 	@ If branching to an ARM destination, we *don't* want to create a
     36 	@ Cortex-A8 stub: the Thumb-to-ARM stub will suffice (and we need it
     37 	@ to change mode).
     38 	bw2
     39 	bw2
     40 
     41         bx      lr
     42