| 1 | #as: -march=mips2 -mabi=32 -KPIC |
| 2 | #readelf: --relocs |
| 3 | #name: MIPS ELF reloc 13 |
| 4 | |
| 5 | Relocation section '\.rel\.text' at offset .* contains 9 entries: |
| 6 | *Offset * Info * Type * Sym\.Value * Sym\. Name |
| 7 | 0+0000 * 0+..09 * R_MIPS_GOT16 * 0+0000 * \.data |
| 8 | 0+0014 * 0+..06 * R_MIPS_LO16 * 0+0000 * \.data |
| 9 | 0+0010 * 0+..09 * R_MIPS_GOT16 * 0+0000 * \.data |
| 10 | 0+0018 * 0+..06 * R_MIPS_LO16 * 0+0000 * \.data |
| 11 | # The next two lines could be in either order. |
| 12 | 0+000c * 0+..09 * R_MIPS_GOT16 * 0+0000 * \.rodata |
| 13 | 0+0008 * 0+..09 * R_MIPS_GOT16 * 0+0000 * \.rodata |
| 14 | 0+001c * 0+..06 * R_MIPS_LO16 * 0+0000 * \.rodata |
| 15 | 0+0004 * 0+..09 * R_MIPS_GOT16 * 0+0000 * \.bss |
| 16 | 0+0020 * 0+..06 * R_MIPS_LO16 * 0+0000 * \.bss |
| 17 | #pass |