PR ld/15787
[binutils-gdb.git] / ld / testsuite / ld-arm / thumb2-bl.s
1 @ Test to ensure that a Thumb-2 BL works with an offset that is
2 @ not permissable for Thumb-1.
3
4 .arch armv7
5 .global _start
6 .syntax unified
7
8 @ We will place the section .text at 0x1000.
9
10 .text
11 .thumb_func
12
13 _start:
14 bl bar
15
16 @ We will place the section .foo at 0x1001000.
17
18 .section .foo, "xa"
19 .thumb_func
20
21 bar:
22 bx lr
23