1 #objdump: -dr --prefix-addresses --show-raw-insn 2 #name: MIPS jal-svr4pic 3 #as: -32 -KPIC 4 #source: jal-svr4pic.s 5 6 # Test the jal macro with -KPIC (microMIPS). 7 8 .*: +file format .*mips.* 9 10 Disassembly of section \.text: 11 [0-9a-f]+ <[^>]*> 41bc 0000 lui gp,0x0 12 [ ]*[0-9a-f]+: R_MICROMIPS_HI16 _gp_disp 13 [0-9a-f]+ <[^>]*> 339c 0000 addiu gp,gp,0 14 [ ]*[0-9a-f]+: R_MICROMIPS_LO16 _gp_disp 15 [0-9a-f]+ <[^>]*> 033c e150 addu gp,gp,t9 16 [0-9a-f]+ <[^>]*> fb9d 0000 sw gp,0\(sp\) 17 [0-9a-f]+ <[^>]*> 45f9 jalrs t9 18 [0-9a-f]+ <[^>]*> 0c00 nop 19 [0-9a-f]+ <[^>]*> ff9d 0000 lw gp,0\(sp\) 20 [0-9a-f]+ <[^>]*> 0099 4f3c jalrs a0,t9 21 [0-9a-f]+ <[^>]*> 0c00 nop 22 [0-9a-f]+ <[^>]*> ff9d 0000 lw gp,0\(sp\) 23 [0-9a-f]+ <[^>]*> ff3c 0000 lw t9,0\(gp\) 24 [ ]*[0-9a-f]+: R_MICROMIPS_GOT16 \.text 25 [0-9a-f]+ <[^>]*> 3339 0001 addiu t9,t9,1 26 [ ]*[0-9a-f]+: R_MICROMIPS_LO16 \.text 27 [0-9a-f]+ <[^>]*> 03f9 4f3c jalrs t9 28 [ ]*[0-9a-f]+: R_MICROMIPS_JALR text_label 29 [0-9a-f]+ <[^>]*> 0c00 nop 30 [0-9a-f]+ <[^>]*> ff9d 0000 lw gp,0\(sp\) 31 [0-9a-f]+ <[^>]*> ff3c 0000 lw t9,0\(gp\) 32 [ ]*[0-9a-f]+: R_MICROMIPS_CALL16 weak_text_label 33 [0-9a-f]+ <[^>]*> 03f9 4f3c jalrs t9 34 [ ]*[0-9a-f]+: R_MICROMIPS_JALR weak_text_label 35 [0-9a-f]+ <[^>]*> 0c00 nop 36 [0-9a-f]+ <[^>]*> ff9d 0000 lw gp,0\(sp\) 37 [0-9a-f]+ <[^>]*> ff3c 0000 lw t9,0\(gp\) 38 [ ]*[0-9a-f]+: R_MICROMIPS_CALL16 external_text_label 39 [0-9a-f]+ <[^>]*> 03f9 4f3c jalrs t9 40 [ ]*[0-9a-f]+: R_MICROMIPS_JALR external_text_label 41 [0-9a-f]+ <[^>]*> 0c00 nop 42 ([0-9a-f]+) <[^>]*> 9400 fffe b \1 <.*> 43 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 text_label 44 [0-9a-f]+ <[^>]*> ff9d 0000 lw gp,0\(sp\) 45 \.\.\. 46