* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-arm / cortex-a8-fix-bl-rel.s
blob2d21bbfb432dfc198655d0acd941d88340c0ac02
1 .syntax unified
2 .cpu cortex-a8
3 .thumb
4 .text
6 @ expansion 32 bytes
7 .macro bw1
8 1:
9 add.w r0, r1, r2
10 bl.w targetfn
11 add.w r0, r1, r2
12 bl.w targetfn
13 add.w r0, r1, r2
14 bl.w targetfn
15 add.w r0, r1, r2
16 bl.w targetfn
17 .endm
19 @ expansion 128 bytes
20 .macro bw2
21 bw1
22 bw1
23 bw1
24 bw1
25 .endm
27 .align 3
28 .global _start
29 .thumb
30 .thumb_func
31 .type _start, %function
32 _start:
33 nop
35 @ If calling an ARM destination, we *don't* want to create a
36 @ Cortex-A8 stub: the Thumb-to-ARM stub will suffice.
37 bw2
38 bw2
40 bx lr