1 #as: -32 -EB -mips1
2 #objdump: -dr --prefix-addresses -Mgpr-names=numeric
3 #name: LDC1 with relocation operators
4 
5 .*file format.*
6 
7 Disassembly of section \.text:
8 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$5\)
9 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$5\)
10 [0-9a-f]+ <[^>]*> lwc1	\$f5,32763\(\$5\)
11 [0-9a-f]+ <[^>]*> lwc1	\$f4,32767\(\$5\)
12 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,32764
13 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
14 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
15 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,32767
16 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
17 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
18 [0-9a-f]+ <[^>]*> lui	\$1,0x1
19 [0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
20 [0-9a-f]+ <[^>]*> lwc1	\$f5,-32768\(\$1\)
21 [0-9a-f]+ <[^>]*> lwc1	\$f4,-32764\(\$1\)
22 [0-9a-f]+ <[^>]*> lui	\$1,0x3
23 [0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
24 [0-9a-f]+ <[^>]*> lwc1	\$f5,32763\(\$1\)
25 [0-9a-f]+ <[^>]*> lwc1	\$f4,32767\(\$1\)
26 [0-9a-f]+ <[^>]*> lui	\$1,0x3
27 [0-9a-f]+ <[^>]*> ori	\$1,\$1,0x7ffc
28 [0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
29 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
30 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
31 [0-9a-f]+ <[^>]*> lui	\$1,0x3
32 [0-9a-f]+ <[^>]*> ori	\$1,\$1,0x7fff
33 [0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
34 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
35 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
36 [0-9a-f]+ <[^>]*> lui	\$1,0x4
37 [0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
38 [0-9a-f]+ <[^>]*> lwc1	\$f5,-32768\(\$1\)
39 [0-9a-f]+ <[^>]*> lwc1	\$f4,-32764\(\$1\)
40 #--------------------------------------------------------------------
41 [0-9a-f]+ <[^>]*> li	\$1,0
42 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
43 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
44 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
45 [0-9a-f]+ <[^>]*> li	\$1,0
46 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
47 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
48 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
49 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$0\)
50 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
51 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$0\)
52 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
53 [0-9a-f]+ <[^>]*> li	\$1,-30875
54 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
55 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
56 [0-9a-f]+ <[^>]*> li	\$1,4661
57 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
58 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
59 #--------------------------------------------------------------------
60 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,0
61 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
62 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
63 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
64 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,0
65 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
66 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
67 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
68 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$5\)
69 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
70 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$5\)
71 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
72 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,-30875
73 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
74 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
75 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,4661
76 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
77 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
78 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,-30875
79 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
80 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
81 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
82 [0-9a-f]+ <[^>]*> addiu	\$1,\$5,4661
83 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
84 [0-9a-f]+ <[^>]*> lwc1	\$f5,0\(\$1\)
85 [0-9a-f]+ <[^>]*> lwc1	\$f4,4\(\$1\)
86 #pass
87