1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS jal-svr4pic noreorder
3 #as: -32 -KPIC
4 #source: jal-svr4pic-noreorder.s
5 
6 # Test the jal macro with -KPIC and `.set noreorder' (MIPS1).
7 
8 .*: +file format .*mips.*
9 
10 Disassembly of section \.text:
11 [0-9a-f]+ <[^>]*> 3c1c0000 	lui	gp,0x0
12 [ 	]*[0-9a-f]+: R_MIPS_HI16	_gp_disp
13 [0-9a-f]+ <[^>]*> 279c0000 	addiu	gp,gp,0
14 [ 	]*[0-9a-f]+: R_MIPS_LO16	_gp_disp
15 [0-9a-f]+ <[^>]*> 0399e021 	addu	gp,gp,t9
16 [0-9a-f]+ <[^>]*> afbc0000 	sw	gp,0\(sp\)
17 [0-9a-f]+ <[^>]*> 0320f809 	jalr	t9
18 [0-9a-f]+ <[^>]*> 00000000 	nop
19 [0-9a-f]+ <[^>]*> 8fbc0000 	lw	gp,0\(sp\)
20 [0-9a-f]+ <[^>]*> 03202009 	jalr	a0,t9
21 [0-9a-f]+ <[^>]*> 00000000 	nop
22 [0-9a-f]+ <[^>]*> 8fbc0000 	lw	gp,0\(sp\)
23 [0-9a-f]+ <[^>]*> 8f990000 	lw	t9,0\(gp\)
24 [ 	]*[0-9a-f]+: R_MIPS_GOT16	.text
25 [0-9a-f]+ <[^>]*> 00000000 	nop
26 [0-9a-f]+ <[^>]*> 27390000 	addiu	t9,t9,0
27 [ 	]*[0-9a-f]+: R_MIPS_LO16	.text
28 [0-9a-f]+ <[^>]*> 0320f809 	jalr	t9
29 [ 	]*[0-9a-f]+: R_MIPS_JALR	text_label
30 [0-9a-f]+ <[^>]*> 00000000 	nop
31 [0-9a-f]+ <[^>]*> 8fbc0000 	lw	gp,0\(sp\)
32 [0-9a-f]+ <[^>]*> 8f990000 	lw	t9,0\(gp\)
33 [ 	]*[0-9a-f]+: R_MIPS_CALL16	weak_text_label
34 [0-9a-f]+ <[^>]*> 00000000 	nop
35 [0-9a-f]+ <[^>]*> 0320f809 	jalr	t9
36 [ 	]*[0-9a-f]+: R_MIPS_JALR	weak_text_label
37 [0-9a-f]+ <[^>]*> 00000000 	nop
38 [0-9a-f]+ <[^>]*> 8fbc0000 	lw	gp,0\(sp\)
39 [0-9a-f]+ <[^>]*> 8f990000 	lw	t9,0\(gp\)
40 [ 	]*[0-9a-f]+: R_MIPS_CALL16	external_text_label
41 [0-9a-f]+ <[^>]*> 00000000 	nop
42 [0-9a-f]+ <[^>]*> 0320f809 	jalr	t9
43 [ 	]*[0-9a-f]+: R_MIPS_JALR	external_text_label
44 [0-9a-f]+ <[^>]*> 00000000 	nop
45 [0-9a-f]+ <[^>]*> 8fbc0000 	lw	gp,0\(sp\)
46 [0-9a-f]+ <[^>]*> 1000ffe5 	b	0+0000 <text_label>
47 [0-9a-f]+ <[^>]*> 00000000 	nop
48 	\.\.\.
49