summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/mips16-branch-reloc-5.s
blob: 1cf62c4ff70a43ce084e524b23428662dc50584c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
	.section .text.bar, "ax", @progbits

	.space	0x1000

	.ent	bar
	.set	mips16
bar:
	nop
	.set	nomips16
	.end	bar

# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
	.align	4, 0
	.space	16

	.section .text.foo, "ax", @progbits

	.ent	foo
	.set	mips16
foo:
	b	bar
	bteqz	bar
	btnez	bar
	beqz	$2, bar
	bnez	$2, bar
	nop
	.set	nomips16
	.end	foo

# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
	.align	4, 0
	.space	16