1 #as: -march=mips2 -mabi=32 2 #objdump: -M gpr-names=numeric -dr 3 #name: MIPS ELF reloc 9 4 5 .*: file format .* 6 7 Disassembly of section \.text: 8 9 0+00 <foo>: 10 0: 8f840000 lw \$4,0\(\$28\) 11 0: R_MIPS_GOT16 \.data 12 4: 24840010 addiu \$4,\$4,16 13 4: R_MIPS_LO16 \.data 14 8: 8f840000 lw \$4,0\(\$28\) 15 8: R_MIPS_GOT16 \.data 16 c: 24840020 addiu \$4,\$4,32 17 c: R_MIPS_LO16 \.data 18 10: 8f840000 lw \$4,0\(\$28\) 19 10: R_MIPS_GOT16 \.data 20 14: 24847ffc addiu \$4,\$4,32764 21 14: R_MIPS_LO16 \.data 22 18: 8f840001 lw \$4,1\(\$28\) 23 18: R_MIPS_GOT16 \.data 24 1c: 24848000 addiu \$4,\$4,-32768 25 1c: R_MIPS_LO16 \.data 26 20: 8f840001 lw \$4,1\(\$28\) 27 20: R_MIPS_GOT16 \.data 28 24: 2484fffc addiu \$4,\$4,-4 29 24: R_MIPS_LO16 \.data 30 28: 8f840001 lw \$4,1\(\$28\) 31 28: R_MIPS_GOT16 \.data 32 2c: 24840000 addiu \$4,\$4,0 33 2c: R_MIPS_LO16 \.data 34 30: 8f840002 lw \$4,2\(\$28\) 35 30: R_MIPS_GOT16 \.data 36 34: 24848010 addiu \$4,\$4,-32752 37 34: R_MIPS_LO16 \.data 38 38: 8f840002 lw \$4,2\(\$28\) 39 38: R_MIPS_GOT16 \.data 40 3c: 2484f000 addiu \$4,\$4,-4096 41 3c: R_MIPS_LO16 \.data 42 40: 8f840002 lw \$4,2\(\$28\) 43 40: R_MIPS_GOT16 \.data 44 44: 2484ffff addiu \$4,\$4,-1 45 44: R_MIPS_LO16 \.data 46 48: 8f840002 lw \$4,2\(\$28\) 47 48: R_MIPS_GOT16 \.data 48 4c: 24840000 addiu \$4,\$4,0 49 4c: R_MIPS_LO16 \.data 50 50: 8f840003 lw \$4,3\(\$28\) 51 50: R_MIPS_GOT16 \.data 52 54: 24841345 addiu \$4,\$4,4933 53 54: R_MIPS_LO16 \.data 54 58: 8f840000 lw \$4,0\(\$28\) 55 58: R_MIPS_GPREL16 \.sdata 56 5c: 8f840004 lw \$4,4\(\$28\) 57 5c: R_MIPS_GPREL16 \.sdata 58 60: 8f840004 lw \$4,4\(\$28\) 59 60: R_MIPS_GPREL16 \.sdata 60 64: 8f840008 lw \$4,8\(\$28\) 61 64: R_MIPS_GPREL16 \.sdata 62 68: 8f84000c lw \$4,12\(\$28\) 63 68: R_MIPS_GPREL16 \.sdata 64 6c: 8f840014 lw \$4,20\(\$28\) 65 6c: R_MIPS_GPREL16 \.sdata 66 70: 8f840018 lw \$4,24\(\$28\) 67 70: R_MIPS_GPREL16 \.sdata 68 \.\.\. 69