1*56bb7041Schristos	.abicalls
2*56bb7041Schristos	.set	noreorder
3*56bb7041Schristos
4*56bb7041Schristos	.type	fun, @function
5*56bb7041Schristos	.weak	fun
6*56bb7041Schristos	.type	obj, @object
7*56bb7041Schristos	.weak	obj
8*56bb7041Schristos	.ifdef	prot
9*56bb7041Schristos	.protected fun
10*56bb7041Schristos	.protected obj
11*56bb7041Schristos	.endif
12*56bb7041Schristos	.ifdef	hidn
13*56bb7041Schristos	.hidden	fun
14*56bb7041Schristos	.hidden	obj
15*56bb7041Schristos	.endif
16*56bb7041Schristos	.ifdef	intr
17*56bb7041Schristos	.internal fun
18*56bb7041Schristos	.internal obj
19*56bb7041Schristos	.endif
20*56bb7041Schristos
21*56bb7041Schristos	.section .text.foo, "ax", @progbits
22*56bb7041Schristos	.globl	foo
23*56bb7041Schristos	.ent	foo
24*56bb7041Schristosfoo:
25*56bb7041Schristos	.frame	$sp, 0, $31
26*56bb7041Schristos	.mask	0x00000000, 0
27*56bb7041Schristos	.fmask	0x00000000, 0
28*56bb7041Schristos	.cpload	$25
29*56bb7041Schristos	lw	$25, %call16(fun)($28)
30*56bb7041Schristos	lw	$4, %got(obj)($28)
31*56bb7041Schristos	jr	$25
32*56bb7041Schristos	 addiu	$4, 4
33*56bb7041Schristos	.end	foo
34*56bb7041Schristos
35*56bb7041Schristos# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
36*56bb7041Schristos	.align	4, 0
37*56bb7041Schristos	.space	16
38*56bb7041Schristos
39*56bb7041Schristos	.section .text.bar, "ax", @progbits
40*56bb7041Schristos	.ent	bar
41*56bb7041Schristosbar:
42*56bb7041Schristos	.frame	$sp, 0, $31
43*56bb7041Schristos	.mask	0x00000000, 0
44*56bb7041Schristos	.fmask	0x00000000, 0
45*56bb7041Schristos	.cpload	$25
46*56bb7041Schristos	lwl	$25, %call16(fun)($28)
47*56bb7041Schristos	lwr	$4, %got(obj)($28)
48*56bb7041Schristos	jr	$25
49*56bb7041Schristos	 addiu	$4, 4
50*56bb7041Schristos	.end	bar
51*56bb7041Schristos
52*56bb7041Schristos# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
53*56bb7041Schristos	.align	4, 0
54*56bb7041Schristos	.space	16
55