1 #as: -mips2 -32 -KPIC 2 #objdump: -dr 3 4 .* 5 6 7 Disassembly of section \.text: 8 9 .* <test>: 10 .*: afbc0010 sw gp,16\(sp\) 11 .*: 8f990000 lw t9,0\(gp\) 12 .*: R_MIPS_GOT16 \.text 13 .*: 2739004c addiu t9,t9,76 14 .*: R_MIPS_LO16 \.text 15 .*: 0320f809 jalr t9 16 .*: R_MIPS_JALR local 17 .*: 00000000 nop 18 .*: 8fbc0010 lw gp,16\(sp\) 19 .*: 8f990000 lw t9,0\(gp\) 20 .*: R_MIPS_GOT16 \.text 21 .*: 27390058 addiu t9,t9,88 22 .*: R_MIPS_LO16 \.text 23 # No R_MIPS_JALR here, because the target address had an addend. 24 .*: 0320f809 jalr t9 25 .*: 00000000 nop 26 .*: 8fbc0010 lw gp,16\(sp\) 27 .*: 8f990000 lw t9,0\(gp\) 28 .*: R_MIPS_CALL16 global 29 .*: 0320f809 jalr t9 30 .*: R_MIPS_JALR global 31 .*: 00000000 nop 32 .*: 8fbc0010 lw gp,16\(sp\) 33 .*: 8f99000c lw t9,12\(gp\) 34 .*: R_MIPS_CALL16 global 35 # No R_MIPS_JALR here either, for the same reason. 36 .*: 0320f809 jalr t9 37 .*: 00000000 nop 38 .*: 8fbc0010 lw gp,16\(sp\) 39 40 .* <local>: 41 \.\.\. 42