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