summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-arm/thumb2-b-interwork.s
blob: 4452a8f437ed0c7ebf2633d2726cba3064318733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@ Test to ensure that a Thumb-2 B.W can branch to an ARM funtion.

	.arch armv7-a
	.global _start
	.syntax unified
	.text
	.thumb_func

_start:
	b.w bar

@ Put this in a separate section to force the assembler to generate a reloc

	.arm
	.section .after, "xa"
	.global bar
	.type bar, %function
bar:
	bx lr