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