Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | #objdump: -dr --prefix-addresses -mmips:3000 |
2 | #name: MIPS ld-svr4pic | |
3 | #as: -mips1 -mcpu=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: | |
aa5f19f2 NC |
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\) | |
252b5132 | 26 | 0+003c <[^>]*> nop |
aa5f19f2 NC |
27 | 0+0040 <[^>]*> lw a0,0\(a1\) |
28 | 0+0044 <[^>]*> lw a1,4\(a1\) | |
252b5132 | 29 | 0+0048 <[^>]*> nop |
aa5f19f2 NC |
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\) | |
252b5132 | 36 | 0+0064 <[^>]*> nop |
aa5f19f2 NC |
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\) | |
252b5132 RH |
48 | [ ]*90: R_MIPS_GOT16 .data |
49 | 0+0094 <[^>]*> nop | |
aa5f19f2 | 50 | 0+0098 <[^>]*> lw a0,0\(at\) |
252b5132 | 51 | [ ]*98: R_MIPS_LO16 .data |
aa5f19f2 | 52 | 0+009c <[^>]*> lw a1,4\(at\) |
252b5132 | 53 | [ ]*9c: R_MIPS_LO16 .data |
aa5f19f2 | 54 | 0+00a0 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
55 | [ ]*a0: R_MIPS_GOT16 big_external_data_label |
56 | 0+00a4 <[^>]*> nop | |
aa5f19f2 NC |
57 | 0+00a8 <[^>]*> lw a0,0\(at\) |
58 | 0+00ac <[^>]*> lw a1,4\(at\) | |
59 | 0+00b0 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
60 | [ ]*b0: R_MIPS_GOT16 small_external_data_label |
61 | 0+00b4 <[^>]*> nop | |
aa5f19f2 NC |
62 | 0+00b8 <[^>]*> lw a0,0\(at\) |
63 | 0+00bc <[^>]*> lw a1,4\(at\) | |
64 | 0+00c0 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
65 | [ ]*c0: R_MIPS_GOT16 big_external_common |
66 | 0+00c4 <[^>]*> nop | |
aa5f19f2 NC |
67 | 0+00c8 <[^>]*> lw a0,0\(at\) |
68 | 0+00cc <[^>]*> lw a1,4\(at\) | |
69 | 0+00d0 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
70 | [ ]*d0: R_MIPS_GOT16 small_external_common |
71 | 0+00d4 <[^>]*> nop | |
aa5f19f2 NC |
72 | 0+00d8 <[^>]*> lw a0,0\(at\) |
73 | 0+00dc <[^>]*> lw a1,4\(at\) | |
74 | 0+00e0 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
75 | [ ]*e0: R_MIPS_GOT16 .bss |
76 | 0+00e4 <[^>]*> nop | |
aa5f19f2 | 77 | 0+00e8 <[^>]*> lw a0,0\(at\) |
252b5132 | 78 | [ ]*e8: R_MIPS_LO16 .bss |
aa5f19f2 | 79 | 0+00ec <[^>]*> lw a1,4\(at\) |
252b5132 | 80 | [ ]*ec: R_MIPS_LO16 .bss |
aa5f19f2 | 81 | 0+00f0 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
82 | [ ]*f0: R_MIPS_GOT16 .bss |
83 | 0+00f4 <[^>]*> nop | |
aa5f19f2 | 84 | 0+00f8 <[^>]*> lw a0,1000\(at\) |
252b5132 | 85 | [ ]*f8: R_MIPS_LO16 .bss |
aa5f19f2 | 86 | 0+00fc <[^>]*> lw a1,1004\(at\) |
252b5132 | 87 | [ ]*fc: R_MIPS_LO16 .bss |
aa5f19f2 | 88 | 0+0100 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
89 | [ ]*100: R_MIPS_GOT16 .data |
90 | 0+0104 <[^>]*> nop | |
aa5f19f2 | 91 | 0+0108 <[^>]*> lw a0,1\(at\) |
252b5132 | 92 | [ ]*108: R_MIPS_LO16 .data |
aa5f19f2 | 93 | 0+010c <[^>]*> lw a1,5\(at\) |
252b5132 | 94 | [ ]*10c: R_MIPS_LO16 .data |
aa5f19f2 | 95 | 0+0110 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
96 | [ ]*110: R_MIPS_GOT16 big_external_data_label |
97 | 0+0114 <[^>]*> nop | |
aa5f19f2 NC |
98 | 0+0118 <[^>]*> lw a0,1\(at\) |
99 | 0+011c <[^>]*> lw a1,5\(at\) | |
100 | 0+0120 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
101 | [ ]*120: R_MIPS_GOT16 small_external_data_label |
102 | 0+0124 <[^>]*> nop | |
aa5f19f2 NC |
103 | 0+0128 <[^>]*> lw a0,1\(at\) |
104 | 0+012c <[^>]*> lw a1,5\(at\) | |
105 | 0+0130 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
106 | [ ]*130: R_MIPS_GOT16 big_external_common |
107 | 0+0134 <[^>]*> nop | |
aa5f19f2 NC |
108 | 0+0138 <[^>]*> lw a0,1\(at\) |
109 | 0+013c <[^>]*> lw a1,5\(at\) | |
110 | 0+0140 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
111 | [ ]*140: R_MIPS_GOT16 small_external_common |
112 | 0+0144 <[^>]*> nop | |
aa5f19f2 NC |
113 | 0+0148 <[^>]*> lw a0,1\(at\) |
114 | 0+014c <[^>]*> lw a1,5\(at\) | |
115 | 0+0150 <[^>]*> lw at,0\(gp\) | |
252b5132 RH |
116 | [ ]*150: R_MIPS_GOT16 .bss |
117 | 0+0154 <[^>]*> nop | |
aa5f19f2 | 118 | 0+0158 <[^>]*> lw a0,1\(at\) |
252b5132 | 119 | [ ]*158: R_MIPS_LO16 .bss |
aa5f19f2 | 120 | 0+015c <[^>]*> lw a1,5\(at\) |
252b5132 | 121 | [ ]*15c: R_MIPS_LO16 .bss |
aa5f19f2 | 122 | 0+0160 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
123 | [ ]*160: R_MIPS_GOT16 .bss |
124 | 0+0164 <[^>]*> nop | |
aa5f19f2 | 125 | 0+0168 <[^>]*> lw a0,1001\(at\) |
252b5132 | 126 | [ ]*168: R_MIPS_LO16 .bss |
aa5f19f2 | 127 | 0+016c <[^>]*> lw a1,1005\(at\) |
252b5132 | 128 | [ ]*16c: R_MIPS_LO16 .bss |
aa5f19f2 | 129 | 0+0170 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
130 | [ ]*170: R_MIPS_GOT16 .data |
131 | 0+0174 <[^>]*> nop | |
aa5f19f2 NC |
132 | 0+0178 <[^>]*> addu at,a1,at |
133 | 0+017c <[^>]*> lw a0,0\(at\) | |
252b5132 | 134 | [ ]*17c: R_MIPS_LO16 .data |
aa5f19f2 | 135 | 0+0180 <[^>]*> lw a1,4\(at\) |
252b5132 | 136 | [ ]*180: R_MIPS_LO16 .data |
aa5f19f2 | 137 | 0+0184 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
138 | [ ]*184: R_MIPS_GOT16 big_external_data_label |
139 | 0+0188 <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
144 | [ ]*198: R_MIPS_GOT16 small_external_data_label |
145 | 0+019c <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
150 | [ ]*1ac: R_MIPS_GOT16 big_external_common |
151 | 0+01b0 <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
156 | [ ]*1c0: R_MIPS_GOT16 small_external_common |
157 | 0+01c4 <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
162 | [ ]*1d4: R_MIPS_GOT16 .bss |
163 | 0+01d8 <[^>]*> nop | |
aa5f19f2 NC |
164 | 0+01dc <[^>]*> addu at,a1,at |
165 | 0+01e0 <[^>]*> lw a0,0\(at\) | |
252b5132 | 166 | [ ]*1e0: R_MIPS_LO16 .bss |
aa5f19f2 | 167 | 0+01e4 <[^>]*> lw a1,4\(at\) |
252b5132 | 168 | [ ]*1e4: R_MIPS_LO16 .bss |
aa5f19f2 | 169 | 0+01e8 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
170 | [ ]*1e8: R_MIPS_GOT16 .bss |
171 | 0+01ec <[^>]*> nop | |
aa5f19f2 NC |
172 | 0+01f0 <[^>]*> addu at,a1,at |
173 | 0+01f4 <[^>]*> lw a0,1000\(at\) | |
252b5132 | 174 | [ ]*1f4: R_MIPS_LO16 .bss |
aa5f19f2 | 175 | 0+01f8 <[^>]*> lw a1,1004\(at\) |
252b5132 | 176 | [ ]*1f8: R_MIPS_LO16 .bss |
aa5f19f2 | 177 | 0+01fc <[^>]*> lw at,0\(gp\) |
252b5132 RH |
178 | [ ]*1fc: R_MIPS_GOT16 .data |
179 | 0+0200 <[^>]*> nop | |
aa5f19f2 NC |
180 | 0+0204 <[^>]*> addu at,a1,at |
181 | 0+0208 <[^>]*> lw a0,1\(at\) | |
252b5132 | 182 | [ ]*208: R_MIPS_LO16 .data |
aa5f19f2 | 183 | 0+020c <[^>]*> lw a1,5\(at\) |
252b5132 | 184 | [ ]*20c: R_MIPS_LO16 .data |
aa5f19f2 | 185 | 0+0210 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
186 | [ ]*210: R_MIPS_GOT16 big_external_data_label |
187 | 0+0214 <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
192 | [ ]*224: R_MIPS_GOT16 small_external_data_label |
193 | 0+0228 <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
198 | [ ]*238: R_MIPS_GOT16 big_external_common |
199 | 0+023c <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
204 | [ ]*24c: R_MIPS_GOT16 small_external_common |
205 | 0+0250 <[^>]*> nop | |
aa5f19f2 NC |
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\) | |
252b5132 RH |
210 | [ ]*260: R_MIPS_GOT16 .bss |
211 | 0+0264 <[^>]*> nop | |
aa5f19f2 NC |
212 | 0+0268 <[^>]*> addu at,a1,at |
213 | 0+026c <[^>]*> lw a0,1\(at\) | |
252b5132 | 214 | [ ]*26c: R_MIPS_LO16 .bss |
aa5f19f2 | 215 | 0+0270 <[^>]*> lw a1,5\(at\) |
252b5132 | 216 | [ ]*270: R_MIPS_LO16 .bss |
aa5f19f2 | 217 | 0+0274 <[^>]*> lw at,0\(gp\) |
252b5132 RH |
218 | [ ]*274: R_MIPS_GOT16 .bss |
219 | 0+0278 <[^>]*> nop | |
aa5f19f2 NC |
220 | 0+027c <[^>]*> addu at,a1,at |
221 | 0+0280 <[^>]*> lw a0,1001\(at\) | |
252b5132 | 222 | [ ]*280: R_MIPS_LO16 .bss |
aa5f19f2 | 223 | 0+0284 <[^>]*> lw a1,1005\(at\) |
252b5132 RH |
224 | [ ]*284: R_MIPS_LO16 .bss |
225 | ... |