gas/testsuite/
[binutils.git] / ld / testsuite / ld-arm / thumb2-bl-bad.s
blob63e3fe7e7271117da5a65049dd66724d6b016bbb
1 @ Test to ensure that a Thumb-2 BL with an oversize offset fails.
3 .arch armv7
4 .global _start
5 .syntax unified
7 @ We will place the section .text at 0x1000.
9 .text
10 .thumb_func
12 _start:
13 bl bar
15 @ We will place the section .foo at 0x1001004.
17 .section .foo, "xa"
18 .thumb_func
20 bar:
21 bx lr