Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | #objdump: -dr --prefix-addresses -mmips:3000 |
2 | #name: MIPS R3000 jal-svr4pic | |
3 | #as: -mips1 -KPIC -mcpu=r3000 | |
4 | ||
5 | # Test the jal macro with -KPIC. | |
6 | ||
7 | .*: +file format .*mips.* | |
8 | ||
9 | Disassembly of section .text: | |
aa5f19f2 | 10 | 0+0000 <[^>]*> lui gp,0x0 |
252b5132 | 11 | [ ]*0: R_MIPS_HI16 _gp_disp |
aa5f19f2 | 12 | 0+0004 <[^>]*> addiu gp,gp,0 |
252b5132 | 13 | [ ]*4: R_MIPS_LO16 _gp_disp |
aa5f19f2 NC |
14 | 0+0008 <[^>]*> addu gp,gp,t9 |
15 | 0+000c <[^>]*> sw gp,0\(sp\) | |
16 | 0+0010 <[^>]*> jalr t9 | |
252b5132 | 17 | 0+0014 <[^>]*> nop |
aa5f19f2 NC |
18 | 0+0018 <[^>]*> lw gp,0\(sp\) |
19 | 0+001c <[^>]*> jalr a0,t9 | |
252b5132 | 20 | 0+0020 <[^>]*> nop |
aa5f19f2 | 21 | 0+0024 <[^>]*> lw gp,0\(sp\) |
252b5132 | 22 | 0+0028 <[^>]*> nop |
aa5f19f2 | 23 | 0+002c <[^>]*> lw t9,0\(gp\) |
252b5132 RH |
24 | [ ]*2c: R_MIPS_GOT16 .text |
25 | 0+0030 <[^>]*> nop | |
aa5f19f2 | 26 | 0+0034 <[^>]*> addiu t9,t9,0 |
252b5132 | 27 | [ ]*34: R_MIPS_LO16 .text |
aa5f19f2 | 28 | 0+0038 <[^>]*> jalr t9 |
252b5132 | 29 | 0+003c <[^>]*> nop |
aa5f19f2 | 30 | 0+0040 <[^>]*> lw gp,0\(sp\) |
252b5132 | 31 | 0+0044 <[^>]*> nop |
aa5f19f2 | 32 | 0+0048 <[^>]*> lw t9,0\(gp\) |
de950844 | 33 | [ ]*48: R_MIPS_CALL16 weak_text_label |
252b5132 | 34 | 0+004c <[^>]*> nop |
aa5f19f2 | 35 | 0+0050 <[^>]*> jalr t9 |
252b5132 | 36 | 0+0054 <[^>]*> nop |
aa5f19f2 | 37 | 0+0058 <[^>]*> lw gp,0\(sp\) |
de950844 | 38 | 0+005c <[^>]*> nop |
aa5f19f2 | 39 | 0+0060 <[^>]*> lw t9,0\(gp\) |
de950844 AM |
40 | [ ]*60: R_MIPS_CALL16 external_text_label |
41 | 0+0064 <[^>]*> nop | |
aa5f19f2 | 42 | 0+0068 <[^>]*> jalr t9 |
de950844 | 43 | 0+006c <[^>]*> nop |
aa5f19f2 | 44 | 0+0070 <[^>]*> lw gp,0\(sp\) |
de950844 | 45 | 0+0074 <[^>]*> b 0+0000 <text_label> |
252b5132 | 46 | ... |