1 #name: R_MIPS16_HI16 and R_MIPS16_LO16 relocs n32 2 #source: ../../../gas/testsuite/gas/mips/mips16-hilo.s 3 #source: mips16-hilo.s 4 #as: -march=mips64 -mabi=n32 -EB 5 #objdump: -mmips:16 --prefix-addresses -tdr --show-raw-insn 6 #ld: -Tmips16-hilo.ld -e 0x500000 -N -melf32btsmipn32 7 8 .*: file format elf.*mips.* 9 10 #... 11 12 Disassembly of section .text: 13 0+500000 <[^>]*> 6c00 li a0,0 14 0+500002 <[^>]*> f400 3480 sll a0,16 15 0+500006 <[^>]*> 4c00 addiu a0,0 16 0+500008 <[^>]*> f060 6c05 li a0,101 17 0+50000c <[^>]*> f400 3480 sll a0,16 18 0+500010 <[^>]*> f328 4c00 addiu a0,17184 19 0+500014 <[^>]*> f060 6c05 li a0,101 20 0+500018 <[^>]*> f400 3480 sll a0,16 21 0+50001c <[^>]*> f328 4c04 addiu a0,17188 22 0+500020 <[^>]*> f060 6c05 li a0,101 23 0+500024 <[^>]*> f400 3480 sll a0,16 24 0+500028 <[^>]*> f328 4c10 addiu a0,17200 25 0+50002c <[^>]*> f060 6c05 li a0,101 26 0+500030 <[^>]*> f400 3480 sll a0,16 27 0+500034 <[^>]*> f728 4c00 addiu a0,18208 28 0+500038 <[^>]*> f060 6c16 li a0,118 29 0+50003c <[^>]*> f400 3480 sll a0,16 30 0+500040 <[^>]*> f02b 4c00 addiu a0,22560 31 0+500044 <[^>]*> f060 6c16 li a0,118 32 0+500048 <[^>]*> f400 3480 sll a0,16 33 0+50004c <[^>]*> f40b 4c09 addiu a0,23561 34 0+500050 <[^>]*> f060 6c16 li a0,118 35 0+500054 <[^>]*> f400 3480 sll a0,16 36 0+500058 <[^>]*> f42a 4c10 addiu a0,21552 37 0+50005c <[^>]*> f060 6c16 li a0,118 38 0+500060 <[^>]*> f400 3480 sll a0,16 39 0+500064 <[^>]*> f40b 4c08 addiu a0,23560 40 0+500068 <[^>]*> 6c00 li a0,0 41 0+50006a <[^>]*> f400 3480 sll a0,16 42 0+50006e <[^>]*> 4c01 addiu a0,1 43 0+500070 <[^>]*> f060 6c05 li a0,101 44 0+500074 <[^>]*> f400 3480 sll a0,16 45 0+500078 <[^>]*> f328 4c01 addiu a0,17185 46 0+50007c <[^>]*> f060 6c05 li a0,101 47 0+500080 <[^>]*> f400 3480 sll a0,16 48 0+500084 <[^>]*> f328 4c05 addiu a0,17189 49 0+500088 <[^>]*> f060 6c05 li a0,101 50 0+50008c <[^>]*> f400 3480 sll a0,16 51 0+500090 <[^>]*> f328 4c11 addiu a0,17201 52 0+500094 <[^>]*> f060 6c05 li a0,101 53 0+500098 <[^>]*> f400 3480 sll a0,16 54 0+50009c <[^>]*> f728 4c01 addiu a0,18209 55 0+5000a0 <[^>]*> f060 6c16 li a0,118 56 0+5000a4 <[^>]*> f400 3480 sll a0,16 57 0+5000a8 <[^>]*> f02b 4c01 addiu a0,22561 58 0+5000ac <[^>]*> f060 6c16 li a0,118 59 0+5000b0 <[^>]*> f400 3480 sll a0,16 60 0+5000b4 <[^>]*> f40b 4c0a addiu a0,23562 61 0+5000b8 <[^>]*> f060 6c16 li a0,118 62 0+5000bc <[^>]*> f400 3480 sll a0,16 63 0+5000c0 <[^>]*> f42a 4c11 addiu a0,21553 64 0+5000c4 <[^>]*> f060 6c16 li a0,118 65 0+5000c8 <[^>]*> f400 3480 sll a0,16 66 0+5000cc <[^>]*> f40b 4c09 addiu a0,23561 67 0+5000d0 <[^>]*> 6c01 li a0,1 68 0+5000d2 <[^>]*> f400 3480 sll a0,16 69 0+5000d6 <[^>]*> f010 4c00 addiu a0,-32768 70 0+5000da <[^>]*> f060 6c06 li a0,102 71 0+5000de <[^>]*> f400 3480 sll a0,16 72 0+5000e2 <[^>]*> f338 4c00 addiu a0,-15584 73 0+5000e6 <[^>]*> f060 6c06 li a0,102 74 0+5000ea <[^>]*> f400 3480 sll a0,16 75 0+5000ee <[^>]*> f338 4c04 addiu a0,-15580 76 0+5000f2 <[^>]*> f060 6c06 li a0,102 77 0+5000f6 <[^>]*> f400 3480 sll a0,16 78 0+5000fa <[^>]*> f338 4c10 addiu a0,-15568 79 0+5000fe <[^>]*> f060 6c06 li a0,102 80 0+500102 <[^>]*> f400 3480 sll a0,16 81 0+500106 <[^>]*> f738 4c00 addiu a0,-14560 82 0+50010a <[^>]*> f060 6c17 li a0,119 83 0+50010e <[^>]*> f400 3480 sll a0,16 84 0+500112 <[^>]*> f03b 4c00 addiu a0,-10208 85 0+500116 <[^>]*> f060 6c17 li a0,119 86 0+50011a <[^>]*> f400 3480 sll a0,16 87 0+50011e <[^>]*> f41b 4c09 addiu a0,-9207 88 0+500122 <[^>]*> f060 6c17 li a0,119 89 0+500126 <[^>]*> f400 3480 sll a0,16 90 0+50012a <[^>]*> f43a 4c10 addiu a0,-11216 91 0+50012e <[^>]*> f060 6c17 li a0,119 92 0+500132 <[^>]*> f400 3480 sll a0,16 93 0+500136 <[^>]*> f41b 4c08 addiu a0,-9208 94 0+50013a <[^>]*> 6c00 li a0,0 95 0+50013c <[^>]*> f400 3480 sll a0,16 96 0+500140 <[^>]*> f010 4c00 addiu a0,-32768 97 0+500144 <[^>]*> f060 6c05 li a0,101 98 0+500148 <[^>]*> f400 3480 sll a0,16 99 0+50014c <[^>]*> f338 4c00 addiu a0,-15584 100 0+500150 <[^>]*> f060 6c05 li a0,101 101 0+500154 <[^>]*> f400 3480 sll a0,16 102 0+500158 <[^>]*> f338 4c04 addiu a0,-15580 103 0+50015c <[^>]*> f060 6c05 li a0,101 104 0+500160 <[^>]*> f400 3480 sll a0,16 105 0+500164 <[^>]*> f338 4c10 addiu a0,-15568 106 0+500168 <[^>]*> f060 6c05 li a0,101 107 0+50016c <[^>]*> f400 3480 sll a0,16 108 0+500170 <[^>]*> f738 4c00 addiu a0,-14560 109 0+500174 <[^>]*> f060 6c16 li a0,118 110 0+500178 <[^>]*> f400 3480 sll a0,16 111 0+50017c <[^>]*> f03b 4c00 addiu a0,-10208 112 0+500180 <[^>]*> f060 6c16 li a0,118 113 0+500184 <[^>]*> f400 3480 sll a0,16 114 0+500188 <[^>]*> f41b 4c09 addiu a0,-9207 115 0+50018c <[^>]*> f060 6c16 li a0,118 116 0+500190 <[^>]*> f400 3480 sll a0,16 117 0+500194 <[^>]*> f43a 4c10 addiu a0,-11216 118 0+500198 <[^>]*> f060 6c16 li a0,118 119 0+50019c <[^>]*> f400 3480 sll a0,16 120 0+5001a0 <[^>]*> f41b 4c08 addiu a0,-9208 121 0+5001a4 <[^>]*> 6c01 li a0,1 122 0+5001a6 <[^>]*> f400 3480 sll a0,16 123 0+5001aa <[^>]*> 4c00 addiu a0,0 124 0+5001ac <[^>]*> f060 6c06 li a0,102 125 0+5001b0 <[^>]*> f400 3480 sll a0,16 126 0+5001b4 <[^>]*> f328 4c00 addiu a0,17184 127 0+5001b8 <[^>]*> f060 6c06 li a0,102 128 0+5001bc <[^>]*> f400 3480 sll a0,16 129 0+5001c0 <[^>]*> f328 4c04 addiu a0,17188 130 0+5001c4 <[^>]*> f060 6c06 li a0,102 131 0+5001c8 <[^>]*> f400 3480 sll a0,16 132 0+5001cc <[^>]*> f328 4c10 addiu a0,17200 133 0+5001d0 <[^>]*> f060 6c06 li a0,102 134 0+5001d4 <[^>]*> f400 3480 sll a0,16 135 0+5001d8 <[^>]*> f728 4c00 addiu a0,18208 136 0+5001dc <[^>]*> f060 6c17 li a0,119 137 0+5001e0 <[^>]*> f400 3480 sll a0,16 138 0+5001e4 <[^>]*> f02b 4c00 addiu a0,22560 139 0+5001e8 <[^>]*> f060 6c17 li a0,119 140 0+5001ec <[^>]*> f400 3480 sll a0,16 141 0+5001f0 <[^>]*> f40b 4c09 addiu a0,23561 142 0+5001f4 <[^>]*> f060 6c17 li a0,119 143 0+5001f8 <[^>]*> f400 3480 sll a0,16 144 0+5001fc <[^>]*> f42a 4c10 addiu a0,21552 145 0+500200 <[^>]*> f060 6c17 li a0,119 146 0+500204 <[^>]*> f400 3480 sll a0,16 147 0+500208 <[^>]*> f40b 4c08 addiu a0,23560 148 0+50020c <[^>]*> 6c02 li a0,2 149 0+50020e <[^>]*> f400 3480 sll a0,16 150 0+500212 <[^>]*> f5b4 4c05 addiu a0,-23131 151 0+500216 <[^>]*> f060 6c07 li a0,103 152 0+50021a <[^>]*> f400 3480 sll a0,16 153 0+50021e <[^>]*> f0dd 4c05 addiu a0,-5947 154 0+500222 <[^>]*> f060 6c07 li a0,103 155 0+500226 <[^>]*> f400 3480 sll a0,16 156 0+50022a <[^>]*> f0dd 4c09 addiu a0,-5943 157 0+50022e <[^>]*> f060 6c07 li a0,103 158 0+500232 <[^>]*> f400 3480 sll a0,16 159 0+500236 <[^>]*> f0dd 4c15 addiu a0,-5931 160 0+50023a <[^>]*> f060 6c07 li a0,103 161 0+50023e <[^>]*> f400 3480 sll a0,16 162 0+500242 <[^>]*> f4dd 4c05 addiu a0,-4923 163 0+500246 <[^>]*> f060 6c18 li a0,120 164 0+50024a <[^>]*> f400 3480 sll a0,16 165 0+50024e <[^>]*> f5df 4c05 addiu a0,-571 166 0+500252 <[^>]*> f060 6c18 li a0,120 167 0+500256 <[^>]*> f400 3480 sll a0,16 168 0+50025a <[^>]*> f1a0 4c0e addiu a0,430 169 0+50025e <[^>]*> f060 6c18 li a0,120 170 0+500262 <[^>]*> f400 3480 sll a0,16 171 0+500266 <[^>]*> f1df 4c15 addiu a0,-1579 172 0+50026a <[^>]*> f060 6c18 li a0,120 173 0+50026e <[^>]*> f400 3480 sll a0,16 174 0+500272 <[^>]*> f1a0 4c0d addiu a0,429 175 0+500276 <[^>]*> 6d00 li a1,0 176 0+500278 <[^>]*> f400 35a0 sll a1,16 177 0+50027c <[^>]*> 9d80 lw a0,0\(a1\) 178 0+50027e <[^>]*> f060 6d05 li a1,101 179 0+500282 <[^>]*> f400 35a0 sll a1,16 180 0+500286 <[^>]*> f060 9d85 lw a0,101\(a1\) 181 0+50028a <[^>]*> f060 6d05 li a1,101 182 0+50028e <[^>]*> f400 35a0 sll a1,16 183 0+500292 <[^>]*> f060 9d85 lw a0,101\(a1\) 184 0+500296 <[^>]*> f060 6d05 li a1,101 185 0+50029a <[^>]*> f400 35a0 sll a1,16 186 0+50029e <[^>]*> f328 9d90 lw a0,17200\(a1\) 187 0+5002a2 <[^>]*> f060 6d05 li a1,101 188 0+5002a6 <[^>]*> f400 35a0 sll a1,16 189 0+5002aa <[^>]*> f728 9d80 lw a0,18208\(a1\) 190 0+5002ae <[^>]*> f060 6d16 li a1,118 191 0+5002b2 <[^>]*> f400 35a0 sll a1,16 192 0+5002b6 <[^>]*> f02b 9d80 lw a0,22560\(a1\) 193 0+5002ba <[^>]*> f060 6d16 li a1,118 194 0+5002be <[^>]*> f400 35a0 sll a1,16 195 0+5002c2 <[^>]*> f40b 9d89 lw a0,23561\(a1\) 196 0+5002c6 <[^>]*> f060 6d16 li a1,118 197 0+5002ca <[^>]*> f400 35a0 sll a1,16 198 0+5002ce <[^>]*> f42a 9d90 lw a0,21552\(a1\) 199 0+5002d2 <[^>]*> f060 6d16 li a1,118 200 0+5002d6 <[^>]*> f400 35a0 sll a1,16 201 0+5002da <[^>]*> f40b 9d88 lw a0,23560\(a1\) 202 0+5002de <[^>]*> 6d00 li a1,0 203 0+5002e0 <[^>]*> f400 35a0 sll a1,16 204 0+5002e4 <[^>]*> f000 9d81 lw a0,1\(a1\) 205 0+5002e8 <[^>]*> f060 6d05 li a1,101 206 0+5002ec <[^>]*> f400 35a0 sll a1,16 207 0+5002f0 <[^>]*> f328 9d81 lw a0,17185\(a1\) 208 0+5002f4 <[^>]*> f060 6d05 li a1,101 209 0+5002f8 <[^>]*> f400 35a0 sll a1,16 210 0+5002fc <[^>]*> f328 9d85 lw a0,17189\(a1\) 211 0+500300 <[^>]*> f060 6d05 li a1,101 212 0+500304 <[^>]*> f400 35a0 sll a1,16 213 0+500308 <[^>]*> f328 9d91 lw a0,17201\(a1\) 214 0+50030c <[^>]*> f060 6d05 li a1,101 215 0+500310 <[^>]*> f400 35a0 sll a1,16 216 0+500314 <[^>]*> f728 9d81 lw a0,18209\(a1\) 217 0+500318 <[^>]*> f060 6d16 li a1,118 218 0+50031c <[^>]*> f400 35a0 sll a1,16 219 0+500320 <[^>]*> f02b 9d81 lw a0,22561\(a1\) 220 0+500324 <[^>]*> f060 6d16 li a1,118 221 0+500328 <[^>]*> f400 35a0 sll a1,16 222 0+50032c <[^>]*> f40b 9d8a lw a0,23562\(a1\) 223 0+500330 <[^>]*> f060 6d16 li a1,118 224 0+500334 <[^>]*> f400 35a0 sll a1,16 225 0+500338 <[^>]*> f42a 9d91 lw a0,21553\(a1\) 226 0+50033c <[^>]*> f060 6d16 li a1,118 227 0+500340 <[^>]*> f400 35a0 sll a1,16 228 0+500344 <[^>]*> f40b 9d89 lw a0,23561\(a1\) 229 0+500348 <[^>]*> 6d01 li a1,1 230 0+50034a <[^>]*> f400 35a0 sll a1,16 231 0+50034e <[^>]*> f010 9d80 lw a0,-32768\(a1\) 232 0+500352 <[^>]*> f060 6d06 li a1,102 233 0+500356 <[^>]*> f400 35a0 sll a1,16 234 0+50035a <[^>]*> f338 9d80 lw a0,-15584\(a1\) 235 0+50035e <[^>]*> f060 6d06 li a1,102 236 0+500362 <[^>]*> f400 35a0 sll a1,16 237 0+500366 <[^>]*> f338 9d84 lw a0,-15580\(a1\) 238 0+50036a <[^>]*> f060 6d06 li a1,102 239 0+50036e <[^>]*> f400 35a0 sll a1,16 240 0+500372 <[^>]*> f338 9d90 lw a0,-15568\(a1\) 241 0+500376 <[^>]*> f060 6d06 li a1,102 242 0+50037a <[^>]*> f400 35a0 sll a1,16 243 0+50037e <[^>]*> f738 9d80 lw a0,-14560\(a1\) 244 0+500382 <[^>]*> f060 6d17 li a1,119 245 0+500386 <[^>]*> f400 35a0 sll a1,16 246 0+50038a <[^>]*> f03b 9d80 lw a0,-10208\(a1\) 247 0+50038e <[^>]*> f060 6d17 li a1,119 248 0+500392 <[^>]*> f400 35a0 sll a1,16 249 0+500396 <[^>]*> f41b 9d89 lw a0,-9207\(a1\) 250 0+50039a <[^>]*> f060 6d17 li a1,119 251 0+50039e <[^>]*> f400 35a0 sll a1,16 252 0+5003a2 <[^>]*> f43a 9d90 lw a0,-11216\(a1\) 253 0+5003a6 <[^>]*> f060 6d17 li a1,119 254 0+5003aa <[^>]*> f400 35a0 sll a1,16 255 0+5003ae <[^>]*> f41b 9d88 lw a0,-9208\(a1\) 256 0+5003b2 <[^>]*> 6d00 li a1,0 257 0+5003b4 <[^>]*> f400 35a0 sll a1,16 258 0+5003b8 <[^>]*> f010 9d80 lw a0,-32768\(a1\) 259 0+5003bc <[^>]*> f060 6d05 li a1,101 260 0+5003c0 <[^>]*> f400 35a0 sll a1,16 261 0+5003c4 <[^>]*> f338 9d80 lw a0,-15584\(a1\) 262 0+5003c8 <[^>]*> f060 6d05 li a1,101 263 0+5003cc <[^>]*> f400 35a0 sll a1,16 264 0+5003d0 <[^>]*> f338 9d84 lw a0,-15580\(a1\) 265 0+5003d4 <[^>]*> f060 6d05 li a1,101 266 0+5003d8 <[^>]*> f400 35a0 sll a1,16 267 0+5003dc <[^>]*> f338 9d90 lw a0,-15568\(a1\) 268 0+5003e0 <[^>]*> f060 6d05 li a1,101 269 0+5003e4 <[^>]*> f400 35a0 sll a1,16 270 0+5003e8 <[^>]*> f738 9d80 lw a0,-14560\(a1\) 271 0+5003ec <[^>]*> f060 6d16 li a1,118 272 0+5003f0 <[^>]*> f400 35a0 sll a1,16 273 0+5003f4 <[^>]*> f03b 9d80 lw a0,-10208\(a1\) 274 0+5003f8 <[^>]*> f060 6d16 li a1,118 275 0+5003fc <[^>]*> f400 35a0 sll a1,16 276 0+500400 <[^>]*> f41b 9d89 lw a0,-9207\(a1\) 277 0+500404 <[^>]*> f060 6d16 li a1,118 278 0+500408 <[^>]*> f400 35a0 sll a1,16 279 0+50040c <[^>]*> f43a 9d90 lw a0,-11216\(a1\) 280 0+500410 <[^>]*> f060 6d16 li a1,118 281 0+500414 <[^>]*> f400 35a0 sll a1,16 282 0+500418 <[^>]*> f41b 9d88 lw a0,-9208\(a1\) 283 0+50041c <[^>]*> 6d01 li a1,1 284 0+50041e <[^>]*> f400 35a0 sll a1,16 285 0+500422 <[^>]*> 9d80 lw a0,0\(a1\) 286 0+500424 <[^>]*> f060 6d06 li a1,102 287 0+500428 <[^>]*> f400 35a0 sll a1,16 288 0+50042c <[^>]*> f328 9d80 lw a0,17184\(a1\) 289 0+500430 <[^>]*> f060 6d06 li a1,102 290 0+500434 <[^>]*> f400 35a0 sll a1,16 291 0+500438 <[^>]*> f328 9d84 lw a0,17188\(a1\) 292 0+50043c <[^>]*> f060 6d06 li a1,102 293 0+500440 <[^>]*> f400 35a0 sll a1,16 294 0+500444 <[^>]*> f328 9d90 lw a0,17200\(a1\) 295 0+500448 <[^>]*> f060 6d06 li a1,102 296 0+50044c <[^>]*> f400 35a0 sll a1,16 297 0+500450 <[^>]*> f728 9d80 lw a0,18208\(a1\) 298 0+500454 <[^>]*> f060 6d17 li a1,119 299 0+500458 <[^>]*> f400 35a0 sll a1,16 300 0+50045c <[^>]*> f02b 9d80 lw a0,22560\(a1\) 301 0+500460 <[^>]*> f060 6d17 li a1,119 302 0+500464 <[^>]*> f400 35a0 sll a1,16 303 0+500468 <[^>]*> f40b 9d89 lw a0,23561\(a1\) 304 0+50046c <[^>]*> f060 6d17 li a1,119 305 0+500470 <[^>]*> f400 35a0 sll a1,16 306 0+500474 <[^>]*> f42a 9d90 lw a0,21552\(a1\) 307 0+500478 <[^>]*> f060 6d17 li a1,119 308 0+50047c <[^>]*> f400 35a0 sll a1,16 309 0+500480 <[^>]*> f40b 9d88 lw a0,23560\(a1\) 310 0+500484 <[^>]*> 6d02 li a1,2 311 0+500486 <[^>]*> f400 35a0 sll a1,16 312 0+50048a <[^>]*> f5b4 9d85 lw a0,-23131\(a1\) 313 0+50048e <[^>]*> f060 6d07 li a1,103 314 0+500492 <[^>]*> f400 35a0 sll a1,16 315 0+500496 <[^>]*> f0dd 9d85 lw a0,-5947\(a1\) 316 0+50049a <[^>]*> f060 6d07 li a1,103 317 0+50049e <[^>]*> f400 35a0 sll a1,16 318 0+5004a2 <[^>]*> f0dd 9d89 lw a0,-5943\(a1\) 319 0+5004a6 <[^>]*> f060 6d07 li a1,103 320 0+5004aa <[^>]*> f400 35a0 sll a1,16 321 0+5004ae <[^>]*> f0dd 9d95 lw a0,-5931\(a1\) 322 0+5004b2 <[^>]*> f060 6d07 li a1,103 323 0+5004b6 <[^>]*> f400 35a0 sll a1,16 324 0+5004ba <[^>]*> f4dd 9d85 lw a0,-4923\(a1\) 325 0+5004be <[^>]*> f060 6d18 li a1,120 326 0+5004c2 <[^>]*> f400 35a0 sll a1,16 327 0+5004c6 <[^>]*> f5df 9d85 lw a0,-571\(a1\) 328 0+5004ca <[^>]*> f060 6d18 li a1,120 329 0+5004ce <[^>]*> f400 35a0 sll a1,16 330 0+5004d2 <[^>]*> f1a0 9d8e lw a0,430\(a1\) 331 0+5004d6 <[^>]*> f060 6d18 li a1,120 332 0+5004da <[^>]*> f400 35a0 sll a1,16 333 0+5004de <[^>]*> f1df 9d95 lw a0,-1579\(a1\) 334 0+5004e2 <[^>]*> f060 6d18 li a1,120 335 0+5004e6 <[^>]*> f400 35a0 sll a1,16 336 0+5004ea <[^>]*> f1a0 9d8d lw a0,429\(a1\) 337 0+5004ee <[^>]*> 6500 nop 338 #pass 339