summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/jalr3.s
blob: 6d3ae9f442ef36e1027d6e6e8afd3268f36d4244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
	.text

	.set	$bar, bar

	.globl	foo
	.ent	foo
foo:
	.reloc	1f, R_MIPS_JALR, $bar
1:	jalr	$25
	.reloc	1f, R_MIPS_JALR, $bar
1:	jr	$25
	.end	foo

	.ent	bar
bar:
	j	$31
	.end	bar

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