[binutils][Arm] Fix Branch Future relocation handling and testisms
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / cortex-a8-fix-bl-rel.s
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 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
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 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
39
40 bx lr
This page took 0.03014 seconds and 4 git commands to generate.