1#objdump: -sr -j .text 2#name: MIPS ELF reloc 2 (32-bit) 3#source: elf-rel2.s 4#as: -32 -march=mips3 5 6# Test the GPREL and LITERAL generation. 7# FIXME: really this should check that the contents of .sdata, .lit4, 8# and .lit8 are correct too. 9 10.*: file format .* 11 12RELOCATION RECORDS FOR \[\.text\]: 13OFFSET [ ]+ TYPE VALUE 140+0000000 R_MIPS_LITERAL \.lit8 150+0000004 R_MIPS_LITERAL \.lit8 160+0000008 R_MIPS_LITERAL \.lit8 170+000000c R_MIPS_LITERAL \.lit4 180+0000010 R_MIPS_LITERAL \.lit4 190+0000014 R_MIPS_LITERAL \.lit4 200+0000018 R_MIPS_GPREL16 \.sdata 210+000001c R_MIPS_GPREL16 \.sdata 220+0000020 R_MIPS_GPREL16 \.sdata 23 24 25Contents of section \.text: 26 0000 000082d7 080082d7 100082d7 000082c7 .* 27 0010 040082c7 080082c7 0000828f 0400828f .* 28 0020 0800828f .* 29