Commit | Line | Data |
---|---|---|
906e58ca | 1 | @ Test to ensure that a Thumb-1 BL with a Thumb-2-only offset makes the linker generate a stub. |
e95de063 MS |
2 | |
3 | .arch armv5t | |
4 | .global _start | |
5 | .syntax unified | |
6 | ||
7 | @ We will place the section .text at 0x1000. | |
8 | ||
9 | .text | |
10 | .thumb_func | |
11 | ||
12 | _start: | |
13 | bl bar | |
14 | ||
c2b4a39d | 15 | @ We will place the section .foo at 0x100100c. |
e95de063 MS |
16 | |
17 | .section .foo, "xa" | |
18 | .thumb_func | |
19 | ||
20 | bar: | |
21 | bx lr | |
22 |