1 #objdump: -d -mmips:8000 -r --prefix-addresses --show-raw-insn 2 #as: -march=8000 -EB -mabi=32 -KPIC 3 #name: MIPS -mabi=32 test 2 (SVR4 PIC) 4 #source: mips-abi32-pic2.s 5 6 .*: +file format.* 7 8 Disassembly of section \.text: 9 0+000 <[^>]*> 3c1c0000 lui gp,0x0 10 0: R_MIPS_HI16 _gp_disp 11 0+004 <[^>]*> 279c0000 addiu gp,gp,0 12 4: R_MIPS_LO16 _gp_disp 13 0+008 <[^>]*> 0399e021 addu gp,gp,t9 14 0+00c <[^>]*> afbc0008 sw gp,8\(sp\) 15 0+010 <[^>]*> 8f990000 lw t9,0\(gp\) 16 10: R_MIPS_GOT16 \.text 17 0+014 <[^>]*> 273900cc addiu t9,t9,204 18 14: R_MIPS_LO16 \.text 19 0+018 <[^>]*> 0320f809 jalr t9 20 0+01c <[^>]*> 00000000 nop 21 0+020 <[^>]*> 8fbc0008 lw gp,8\(sp\) 22 0+024 <[^>]*> 00000000 nop 23 0+028 <[^>]*> 0320f809 jalr t9 24 0+02c <[^>]*> 00000000 nop 25 0+030 <[^>]*> 8fbc0008 lw gp,8\(sp\) 26 0+034 <[^>]*> 3c1c0000 lui gp,0x0 27 34: R_MIPS_HI16 _gp_disp 28 0+038 <[^>]*> 279c0000 addiu gp,gp,0 29 38: R_MIPS_LO16 _gp_disp 30 0+03c <[^>]*> 0399e021 addu gp,gp,t9 31 0+040 <[^>]*> 3c010001 lui at,0x1 32 0+044 <[^>]*> 003d0821 addu at,at,sp 33 0+048 <[^>]*> ac3c8000 sw gp,-32768\(at\) 34 0+04c <[^>]*> 8f990000 lw t9,0\(gp\) 35 4c: R_MIPS_GOT16 \.text 36 0+050 <[^>]*> 273900cc addiu t9,t9,204 37 50: R_MIPS_LO16 \.text 38 0+054 <[^>]*> 0320f809 jalr t9 39 0+058 <[^>]*> 00000000 nop 40 0+05c <[^>]*> 3c010001 lui at,0x1 41 0+060 <[^>]*> 003d0821 addu at,at,sp 42 0+064 <[^>]*> 8c3c8000 lw gp,-32768\(at\) 43 0+068 <[^>]*> 00000000 nop 44 0+06c <[^>]*> 0320f809 jalr t9 45 0+070 <[^>]*> 00000000 nop 46 0+074 <[^>]*> 3c010001 lui at,0x1 47 0+078 <[^>]*> 003d0821 addu at,at,sp 48 0+07c <[^>]*> 8c3c8000 lw gp,-32768\(at\) 49 0+080 <[^>]*> 3c1c0000 lui gp,0x0 50 80: R_MIPS_HI16 _gp_disp 51 0+084 <[^>]*> 279c0000 addiu gp,gp,0 52 84: R_MIPS_LO16 _gp_disp 53 0+088 <[^>]*> 0399e021 addu gp,gp,t9 54 0+08c <[^>]*> 3c010001 lui at,0x1 55 0+090 <[^>]*> 003d0821 addu at,at,sp 56 0+094 <[^>]*> ac3c0000 sw gp,0\(at\) 57 0+098 <[^>]*> 8f990000 lw t9,0\(gp\) 58 98: R_MIPS_GOT16 \.text 59 0+09c <[^>]*> 273900cc addiu t9,t9,204 60 9c: R_MIPS_LO16 \.text 61 0+0a0 <[^>]*> 0320f809 jalr t9 62 0+0a4 <[^>]*> 00000000 nop 63 0+0a8 <[^>]*> 3c010001 lui at,0x1 64 0+0ac <[^>]*> 003d0821 addu at,at,sp 65 0+0b0 <[^>]*> 8c3c0000 lw gp,0\(at\) 66 0+0b4 <[^>]*> 00000000 nop 67 0+0b8 <[^>]*> 0320f809 jalr t9 68 0+0bc <[^>]*> 00000000 nop 69 0+0c0 <[^>]*> 3c010001 lui at,0x1 70 0+0c4 <[^>]*> 003d0821 addu at,at,sp 71 0+0c8 <[^>]*> 8c3c0000 lw gp,0\(at\) 72 \.\.\. 73