Fix PE-COFF archiving long name tables
[binutils/dougsmingw.git] / ld / testsuite / ld-arm / farcall-mix.s
blob41b27f2d4430b4e752a5a8cb6f8144035bbb4450
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
13 bl bar3
14 bl bar4
15 bl bar5
17 @ We will place the section .foo at 0x2002020.
19 .section .foo, "xa"
21 .global bar
22 .thumb_func
23 bar:
24 bx lr
26 .arm
27 .global bar2
28 .type bar2, %function
29 bar2:
30 bx lr
32 .global bar3
33 .type bar3, %function
34 bar3:
35 bx lr
37 .global bar4
38 .thumb_func
39 bar4:
40 bx lr
42 .global bar5
43 .type bar5, %function
44 bar5:
45 bx lr