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 1b
     11         add.w r0, r1, r2
     12         b.w 1b
     13         add.w r0, r1, r2
     14         b.w 1b
     15         add.w r0, r1, r2
     16         b.w 1b
     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 	@ Trigger Cortex-A8 erratum workaround with b instructions.
     36         bw2
     37         bw2
     38 
     39         bx      lr
     40