1 |
38 |
julius |
#objdump: -dr --prefix-addresses -mmips:3000
|
2 |
|
|
#name: MIPS lb-xgot-ilocks
|
3 |
|
|
#as: -32 -mips1 -KPIC -xgot -mtune=r3900 -march=r3900
|
4 |
|
|
#source: lb-pic.s
|
5 |
|
|
|
6 |
|
|
# Test the lb macro with -KPIC -xgot.
|
7 |
|
|
|
8 |
|
|
.*: +file format .*
|
9 |
|
|
|
10 |
|
|
Disassembly of section \.text:
|
11 |
|
|
0+0000 <.*> lb a0,0\(zero\)
|
12 |
|
|
0+0004 <.*> lb a0,1\(zero\)
|
13 |
|
|
0+0008 <.*> lui a0,0x1
|
14 |
|
|
0+000c <.*> lb a0,-32768\(a0\)
|
15 |
|
|
0+0010 <.*> lb a0,-32768\(zero\)
|
16 |
|
|
0+0014 <.*> lui a0,0x1
|
17 |
|
|
0+0018 <.*> lb a0,0\(a0\)
|
18 |
|
|
0+001c <.*> lui a0,0x2
|
19 |
|
|
0+0020 <.*> lb a0,-23131\(a0\)
|
20 |
|
|
0+0024 <.*> lb a0,0\(a1\)
|
21 |
|
|
0+0028 <.*> lb a0,1\(a1\)
|
22 |
|
|
0+002c <.*> lui a0,0x1
|
23 |
|
|
0+0030 <.*> addu a0,a0,a1
|
24 |
|
|
0+0034 <.*> lb a0,-32768\(a0\)
|
25 |
|
|
0+0038 <.*> lb a0,-32768\(a1\)
|
26 |
|
|
0+003c <.*> lui a0,0x1
|
27 |
|
|
0+0040 <.*> addu a0,a0,a1
|
28 |
|
|
0+0044 <.*> lb a0,0\(a0\)
|
29 |
|
|
0+0048 <.*> lui a0,0x2
|
30 |
|
|
0+004c <.*> addu a0,a0,a1
|
31 |
|
|
0+0050 <.*> lb a0,-23131\(a0\)
|
32 |
|
|
0+0054 <.*> lw a0,0\(gp\)
|
33 |
|
|
54: R_MIPS_GOT16 \.data
|
34 |
|
|
0+0058 <.*> addiu a0,a0,0
|
35 |
|
|
58: R_MIPS_LO16 \.data
|
36 |
|
|
0+005c <.*> lb a0,0\(a0\)
|
37 |
|
|
0+0060 <.*> lui a0,0x0
|
38 |
|
|
60: R_MIPS_GOT_HI16 big_external_data_label
|
39 |
|
|
0+0064 <.*> addu a0,a0,gp
|
40 |
|
|
0+0068 <.*> lw a0,0\(a0\)
|
41 |
|
|
68: R_MIPS_GOT_LO16 big_external_data_label
|
42 |
|
|
0+006c <.*> lb a0,0\(a0\)
|
43 |
|
|
0+0070 <.*> lui a0,0x0
|
44 |
|
|
70: R_MIPS_GOT_HI16 small_external_data_label
|
45 |
|
|
0+0074 <.*> addu a0,a0,gp
|
46 |
|
|
0+0078 <.*> lw a0,0\(a0\)
|
47 |
|
|
78: R_MIPS_GOT_LO16 small_external_data_label
|
48 |
|
|
0+007c <.*> lb a0,0\(a0\)
|
49 |
|
|
0+0080 <.*> lui a0,0x0
|
50 |
|
|
80: R_MIPS_GOT_HI16 big_external_common
|
51 |
|
|
0+0084 <.*> addu a0,a0,gp
|
52 |
|
|
0+0088 <.*> lw a0,0\(a0\)
|
53 |
|
|
88: R_MIPS_GOT_LO16 big_external_common
|
54 |
|
|
0+008c <.*> lb a0,0\(a0\)
|
55 |
|
|
0+0090 <.*> lui a0,0x0
|
56 |
|
|
90: R_MIPS_GOT_HI16 small_external_common
|
57 |
|
|
0+0094 <.*> addu a0,a0,gp
|
58 |
|
|
0+0098 <.*> lw a0,0\(a0\)
|
59 |
|
|
98: R_MIPS_GOT_LO16 small_external_common
|
60 |
|
|
0+009c <.*> lb a0,0\(a0\)
|
61 |
|
|
0+00a0 <.*> lw a0,0\(gp\)
|
62 |
|
|
a0: R_MIPS_GOT16 \.bss
|
63 |
|
|
0+00a4 <.*> addiu a0,a0,0
|
64 |
|
|
a4: R_MIPS_LO16 \.bss
|
65 |
|
|
0+00a8 <.*> lb a0,0\(a0\)
|
66 |
|
|
0+00ac <.*> lw a0,0\(gp\)
|
67 |
|
|
ac: R_MIPS_GOT16 \.bss
|
68 |
|
|
0+00b0 <.*> addiu a0,a0,1000
|
69 |
|
|
b0: R_MIPS_LO16 \.bss
|
70 |
|
|
0+00b4 <.*> lb a0,0\(a0\)
|
71 |
|
|
0+00b8 <.*> lw a0,0\(gp\)
|
72 |
|
|
b8: R_MIPS_GOT16 \.data
|
73 |
|
|
0+00bc <.*> addiu a0,a0,0
|
74 |
|
|
bc: R_MIPS_LO16 \.data
|
75 |
|
|
0+00c0 <.*> lb a0,1\(a0\)
|
76 |
|
|
0+00c4 <.*> lui a0,0x0
|
77 |
|
|
c4: R_MIPS_GOT_HI16 big_external_data_label
|
78 |
|
|
0+00c8 <.*> addu a0,a0,gp
|
79 |
|
|
0+00cc <.*> lw a0,0\(a0\)
|
80 |
|
|
cc: R_MIPS_GOT_LO16 big_external_data_label
|
81 |
|
|
0+00d0 <.*> lb a0,1\(a0\)
|
82 |
|
|
0+00d4 <.*> lui a0,0x0
|
83 |
|
|
d4: R_MIPS_GOT_HI16 small_external_data_label
|
84 |
|
|
0+00d8 <.*> addu a0,a0,gp
|
85 |
|
|
0+00dc <.*> lw a0,0\(a0\)
|
86 |
|
|
dc: R_MIPS_GOT_LO16 small_external_data_label
|
87 |
|
|
0+00e0 <.*> lb a0,1\(a0\)
|
88 |
|
|
0+00e4 <.*> lui a0,0x0
|
89 |
|
|
e4: R_MIPS_GOT_HI16 big_external_common
|
90 |
|
|
0+00e8 <.*> addu a0,a0,gp
|
91 |
|
|
0+00ec <.*> lw a0,0\(a0\)
|
92 |
|
|
ec: R_MIPS_GOT_LO16 big_external_common
|
93 |
|
|
0+00f0 <.*> lb a0,1\(a0\)
|
94 |
|
|
0+00f4 <.*> lui a0,0x0
|
95 |
|
|
f4: R_MIPS_GOT_HI16 small_external_common
|
96 |
|
|
0+00f8 <.*> addu a0,a0,gp
|
97 |
|
|
0+00fc <.*> lw a0,0\(a0\)
|
98 |
|
|
fc: R_MIPS_GOT_LO16 small_external_common
|
99 |
|
|
0+0100 <.*> lb a0,1\(a0\)
|
100 |
|
|
0+0104 <.*> lw a0,0\(gp\)
|
101 |
|
|
104: R_MIPS_GOT16 \.bss
|
102 |
|
|
0+0108 <.*> addiu a0,a0,0
|
103 |
|
|
108: R_MIPS_LO16 \.bss
|
104 |
|
|
0+010c <.*> lb a0,1\(a0\)
|
105 |
|
|
0+0110 <.*> lw a0,0\(gp\)
|
106 |
|
|
110: R_MIPS_GOT16 \.bss
|
107 |
|
|
0+0114 <.*> addiu a0,a0,1000
|
108 |
|
|
114: R_MIPS_LO16 \.bss
|
109 |
|
|
0+0118 <.*> lb a0,1\(a0\)
|
110 |
|
|
0+011c <.*> lw a0,0\(gp\)
|
111 |
|
|
11c: R_MIPS_GOT16 \.data
|
112 |
|
|
0+0120 <.*> addiu a0,a0,0
|
113 |
|
|
120: R_MIPS_LO16 \.data
|
114 |
|
|
0+0124 <.*> addu a0,a0,a1
|
115 |
|
|
0+0128 <.*> lb a0,0\(a0\)
|
116 |
|
|
0+012c <.*> lui a0,0x0
|
117 |
|
|
12c: R_MIPS_GOT_HI16 big_external_data_label
|
118 |
|
|
0+0130 <.*> addu a0,a0,gp
|
119 |
|
|
0+0134 <.*> lw a0,0\(a0\)
|
120 |
|
|
134: R_MIPS_GOT_LO16 big_external_data_label
|
121 |
|
|
0+0138 <.*> addu a0,a0,a1
|
122 |
|
|
0+013c <.*> lb a0,0\(a0\)
|
123 |
|
|
0+0140 <.*> lui a0,0x0
|
124 |
|
|
140: R_MIPS_GOT_HI16 small_external_data_label
|
125 |
|
|
0+0144 <.*> addu a0,a0,gp
|
126 |
|
|
0+0148 <.*> lw a0,0\(a0\)
|
127 |
|
|
148: R_MIPS_GOT_LO16 small_external_data_label
|
128 |
|
|
0+014c <.*> addu a0,a0,a1
|
129 |
|
|
0+0150 <.*> lb a0,0\(a0\)
|
130 |
|
|
0+0154 <.*> lui a0,0x0
|
131 |
|
|
154: R_MIPS_GOT_HI16 big_external_common
|
132 |
|
|
0+0158 <.*> addu a0,a0,gp
|
133 |
|
|
0+015c <.*> lw a0,0\(a0\)
|
134 |
|
|
15c: R_MIPS_GOT_LO16 big_external_common
|
135 |
|
|
0+0160 <.*> addu a0,a0,a1
|
136 |
|
|
0+0164 <.*> lb a0,0\(a0\)
|
137 |
|
|
0+0168 <.*> lui a0,0x0
|
138 |
|
|
168: R_MIPS_GOT_HI16 small_external_common
|
139 |
|
|
0+016c <.*> addu a0,a0,gp
|
140 |
|
|
0+0170 <.*> lw a0,0\(a0\)
|
141 |
|
|
170: R_MIPS_GOT_LO16 small_external_common
|
142 |
|
|
0+0174 <.*> addu a0,a0,a1
|
143 |
|
|
0+0178 <.*> lb a0,0\(a0\)
|
144 |
|
|
0+017c <.*> lw a0,0\(gp\)
|
145 |
|
|
17c: R_MIPS_GOT16 \.bss
|
146 |
|
|
0+0180 <.*> addiu a0,a0,0
|
147 |
|
|
180: R_MIPS_LO16 \.bss
|
148 |
|
|
0+0184 <.*> addu a0,a0,a1
|
149 |
|
|
0+0188 <.*> lb a0,0\(a0\)
|
150 |
|
|
0+018c <.*> lw a0,0\(gp\)
|
151 |
|
|
18c: R_MIPS_GOT16 \.bss
|
152 |
|
|
0+0190 <.*> addiu a0,a0,1000
|
153 |
|
|
190: R_MIPS_LO16 \.bss
|
154 |
|
|
0+0194 <.*> addu a0,a0,a1
|
155 |
|
|
0+0198 <.*> lb a0,0\(a0\)
|
156 |
|
|
0+019c <.*> lw a0,0\(gp\)
|
157 |
|
|
19c: R_MIPS_GOT16 \.data
|
158 |
|
|
0+01a0 <.*> addiu a0,a0,0
|
159 |
|
|
1a0: R_MIPS_LO16 \.data
|
160 |
|
|
0+01a4 <.*> addu a0,a0,a1
|
161 |
|
|
0+01a8 <.*> lb a0,1\(a0\)
|
162 |
|
|
0+01ac <.*> lui a0,0x0
|
163 |
|
|
1ac: R_MIPS_GOT_HI16 big_external_data_label
|
164 |
|
|
0+01b0 <.*> addu a0,a0,gp
|
165 |
|
|
0+01b4 <.*> lw a0,0\(a0\)
|
166 |
|
|
1b4: R_MIPS_GOT_LO16 big_external_data_label
|
167 |
|
|
0+01b8 <.*> addu a0,a0,a1
|
168 |
|
|
0+01bc <.*> lb a0,1\(a0\)
|
169 |
|
|
0+01c0 <.*> lui a0,0x0
|
170 |
|
|
1c0: R_MIPS_GOT_HI16 small_external_data_label
|
171 |
|
|
0+01c4 <.*> addu a0,a0,gp
|
172 |
|
|
0+01c8 <.*> lw a0,0\(a0\)
|
173 |
|
|
1c8: R_MIPS_GOT_LO16 small_external_data_label
|
174 |
|
|
0+01cc <.*> addu a0,a0,a1
|
175 |
|
|
0+01d0 <.*> lb a0,1\(a0\)
|
176 |
|
|
0+01d4 <.*> lui a0,0x0
|
177 |
|
|
1d4: R_MIPS_GOT_HI16 big_external_common
|
178 |
|
|
0+01d8 <.*> addu a0,a0,gp
|
179 |
|
|
0+01dc <.*> lw a0,0\(a0\)
|
180 |
|
|
1dc: R_MIPS_GOT_LO16 big_external_common
|
181 |
|
|
0+01e0 <.*> addu a0,a0,a1
|
182 |
|
|
0+01e4 <.*> lb a0,1\(a0\)
|
183 |
|
|
0+01e8 <.*> lui a0,0x0
|
184 |
|
|
1e8: R_MIPS_GOT_HI16 small_external_common
|
185 |
|
|
0+01ec <.*> addu a0,a0,gp
|
186 |
|
|
0+01f0 <.*> lw a0,0\(a0\)
|
187 |
|
|
1f0: R_MIPS_GOT_LO16 small_external_common
|
188 |
|
|
0+01f4 <.*> addu a0,a0,a1
|
189 |
|
|
0+01f8 <.*> lb a0,1\(a0\)
|
190 |
|
|
0+01fc <.*> lw a0,0\(gp\)
|
191 |
|
|
1fc: R_MIPS_GOT16 \.bss
|
192 |
|
|
0+0200 <.*> addiu a0,a0,0
|
193 |
|
|
200: R_MIPS_LO16 \.bss
|
194 |
|
|
0+0204 <.*> addu a0,a0,a1
|
195 |
|
|
0+0208 <.*> lb a0,1\(a0\)
|
196 |
|
|
0+020c <.*> lw a0,0\(gp\)
|
197 |
|
|
20c: R_MIPS_GOT16 \.bss
|
198 |
|
|
0+0210 <.*> addiu a0,a0,1000
|
199 |
|
|
210: R_MIPS_LO16 \.bss
|
200 |
|
|
0+0214 <.*> addu a0,a0,a1
|
201 |
|
|
0+0218 <.*> lb a0,1\(a0\)
|
202 |
|
|
0+021c <.*> nop
|