1 #name: MIPS JAL with an addend 2 #as: -mips2 -32 -KPIC 3 #objdump: -dr 4 #source: jalr2.s 5 6 .* 7 8 9 Disassembly of section \.text: 10 11 .* <test>: 12 .*: afbc0010 sw gp,16\(sp\) 13 .*: 8f990000 lw t9,0\(gp\) 14 .*: R_MIPS_GOT16 \.text 15 .*: 2739004c addiu t9,t9,76 16 .*: R_MIPS_LO16 \.text 17 .*: 0320f809 jalr t9 18 .*: 00000000 nop 19 .*: 8fbc0010 lw gp,16\(sp\) 20 .*: 8f990000 lw t9,0\(gp\) 21 .*: R_MIPS_GOT16 \.text 22 .*: 27390058 addiu t9,t9,88 23 .*: R_MIPS_LO16 \.text 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 .*: 00000000 nop 31 .*: 8fbc0010 lw gp,16\(sp\) 32 .*: 8f99000c lw t9,12\(gp\) 33 .*: R_MIPS_CALL16 global 34 .*: 0320f809 jalr t9 35 .*: 00000000 nop 36 .*: 8fbc0010 lw gp,16\(sp\) 37 38 .* <local>: 39 \.\.\. 40