1#as: -march=mips3 -mabi=n32 -KPIC
2#readelf: --relocs
3#name: MIPS ELF reloc 10
4
5Relocation section '\.rela\.text' at offset .* contains 22 entries:
6 *Offset * Info * Type * Sym\.Value * Sym\. Name \+ Addend
70+0000 * 0+..07 * R_MIPS_GPREL16 * 0+0000 * foo \+ 0
80+0000 * 0+0018 * R_MIPS_SUB * 0
90+0000 * 0+0005 * R_MIPS_HI16 * 0
100+0004 * 0+..07 * R_MIPS_GPREL16 * 0+0000 * foo \+ 0
110+0004 * 0+0018 * R_MIPS_SUB * 0
120+0004 * 0+0006 * R_MIPS_LO16 * 0
130+000c * 0+..07 * R_MIPS_GPREL16 * 0+0000 * \.text \+ c
140+000c * 0+0018 * R_MIPS_SUB * 0
150+000c * 0+0005 * R_MIPS_HI16 * 0
160+0010 * 0+..07 * R_MIPS_GPREL16 * 0+0000 * \.text \+ c
170+0010 * 0+0018 * R_MIPS_SUB * 0
180+0010 * 0+0006 * R_MIPS_LO16 * 0
190+0018 * 0+..14 * R_MIPS_GOT_PAGE * 0+0000 * foo \+ 0
200+001c * 0+..15 * R_MIPS_GOT_OFST * 0+0000 * foo \+ 0
210+0020 * 0+..14 * R_MIPS_GOT_PAGE * 0+0000 * foo \+ 1234
220+0024 * 0+..15 * R_MIPS_GOT_OFST * 0+0000 * foo \+ 1234
230+0028 * 0+..14 * R_MIPS_GOT_PAGE * 0+0000 * \.text \+ c
240+002c * 0+..15 * R_MIPS_GOT_OFST * 0+0000 * \.text \+ c
250+0030 * 0+..14 * R_MIPS_GOT_PAGE * 0+0000 * \.text \+ 33221d
260+0034 * 0+..15 * R_MIPS_GOT_OFST * 0+0000 * \.text \+ 33221d
270+0038 * 0+..14 * R_MIPS_GOT_PAGE * 0+0000 * \.text \+ 18
280+003c * 0+..15 * R_MIPS_GOT_OFST * 0+0000 * \.text \+ 18
29#pass
30