Typo fix in most recent entry.
[binutils.git] / ld / testsuite / ld-arm / farcall-mix2.s
blob803e8d08f878df49acaf05157cf233a29f6bc8fb
1 @ Test to ensure that ARM calls exceeding 32Mb generate stubs.
3 .global _start
4 .syntax unified
6 @ We will place the section .text at 0x1000.
8 .text
10 _start:
11 bl bar
12 bl bar2
15 @ We will place the section .mytext at 0x2000.
17 .section .mytext, "xa"
18 bl bar3
19 bl bar4
20 bl bar5
22 @ We will place the section .foo at 0x2003020.
24 .section .foo, "xa"
26 .global bar
27 .thumb_func
28 bar:
29 bx lr
31 .arm
32 .global bar2
33 .type bar2, %function
34 bar2:
35 bx lr
37 .global bar3
38 .type bar3, %function
39 bar3:
40 bx lr
42 .global bar4
43 .thumb_func
44 bar4:
45 bx lr
47 .global bar5
48 .type bar5, %function
49 bar5:
50 bx lr