bfd/
[binutils.git] / ld / testsuite / ld-arm / farcall-group.s
blob0ede36df4f68b89e76e53d9f5c0cafbd66c65a16
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 .foo at 0x2003020.
17 .section .foo, "xa"
19 .global bar
20 .thumb_func
21 bar:
22 bx lr
24 .arm
25 .global bar2
26 .type bar2, %function
27 bar2:
28 bx lr
30 .global bar3
31 .type bar3, %function
32 bar3:
33 bx lr
35 .global bar4
36 .thumb_func
37 bar4:
38 bx lr
40 .global bar5
41 .type bar5, %function
42 bar5:
43 bx lr