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