19990502 sourceware import
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / jal-xgot.d
1 #objdump: -dr --prefix-addresses -mmips:3000
2 #name: MIPS R3000 jal-xgot
3 #as: -mips1 -KPIC -xgot -mcpu=r3000
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:
11 0+0000 <[^>]*> lui \$gp,0x0
12 [ ]*0: R_MIPS_HI16 _gp_disp
13 0+0004 <[^>]*> addiu \$gp,\$gp,0
14 [ ]*4: R_MIPS_LO16 _gp_disp
15 0+0008 <[^>]*> addu \$gp,\$gp,\$t9
16 0+000c <[^>]*> sw \$gp,0\(\$sp\)
17 0+0010 <[^>]*> jalr \$t9
18 0+0014 <[^>]*> nop
19 0+0018 <[^>]*> lw \$gp,0\(\$sp\)
20 0+001c <[^>]*> jalr \$a0,\$t9
21 0+0020 <[^>]*> nop
22 0+0024 <[^>]*> lw \$gp,0\(\$sp\)
23 0+0028 <[^>]*> nop
24 0+002c <[^>]*> lw \$t9,0\(\$gp\)
25 [ ]*2c: R_MIPS_GOT16 .text
26 0+0030 <[^>]*> nop
27 0+0034 <[^>]*> addiu \$t9,\$t9,0
28 [ ]*34: R_MIPS_LO16 .text
29 0+0038 <[^>]*> jalr \$t9
30 0+003c <[^>]*> nop
31 0+0040 <[^>]*> lw \$gp,0\(\$sp\)
32 0+0044 <[^>]*> lui \$t9,0x0
33 [ ]*44: R_MIPS_CALL_HI16 external_text_label
34 0+0048 <[^>]*> addu \$t9,\$t9,\$gp
35 0+004c <[^>]*> lw \$t9,0\(\$t9\)
36 [ ]*4c: R_MIPS_CALL_LO16 external_text_label
37 0+0050 <[^>]*> nop
38 0+0054 <[^>]*> jalr \$t9
39 0+0058 <[^>]*> nop
40 0+005c <[^>]*> lw \$gp,0\(\$sp\)
41 0+0060 <[^>]*> b 0+0000 <text_label>
42 ...
This page took 0.032688 seconds and 4 git commands to generate.