Commit | Line | Data |
---|---|---|
cd6eab1c ILT |
1 | @ Test to ensure that a ARM to Thumb call exceeding 32Mb generates a stub. |
2 | ||
3 | .global _start | |
4 | .global bar | |
5 | .syntax unified | |
6 | ||
7 | @ We will place the section .text at 0x1000. | |
8 | ||
9 | .text | |
10 | ||
11 | _start: | |
12 | bl bar | |
13 | ||
14 | @ We will place the section .foo at 0x2001010. | |
15 | ||
16 | .section .foo, "xa" | |
17 | .thumb_func | |
18 | bar: | |
19 | bx lr | |
20 |