d46a52f2b66e458ac4da4b7ba645a7902ebaac6d
[platform/upstream/binutils.git] / gas / testsuite / gas / mips / jal-empic-elf.d
1 #objdump: -dr --prefix-addresses -mmips:3000 --show-raw-insn
2 #name: MIPS jal-empic-elf
3 #as: -mips1 -membedded-pic
4 #source: jal.s
5
6 # Test the jal macro with -membedded-pic.
7
8 .*: +file format .*mips.*
9
10 Disassembly of section .text:
11 0+0000 <[^>]*> 0320f809         jalr    t9
12 0+0004 <[^>]*> 00000000         nop
13 0+0008 <[^>]*> 03202009         jalr    a0,t9
14 0+000c <[^>]*> 00000000         nop
15 0+0010 <[^>]*> 0411ffff         bal     0+0010 <text_label\+0x10>
16 [       ]*10: R_MIPS_GNU_REL16_S2       .text
17 0+0014 <[^>]*> 00000000         nop
18 0+0018 <[^>]*> 0411ffff         bal     0+0018 <text_label\+0x18>
19 [       ]*18: R_MIPS_GNU_REL16_S2       external_text_label
20 0+001c <[^>]*> 00000000         nop
21 0+0020 <[^>]*> 1000ffff         b       0+0020 <text_label\+0x20>
22 [       ]*20: R_MIPS_GNU_REL16_S2       .text
23 0+0024 <[^>]*> 00000000         nop
24 0+0028 <[^>]*> 1000ffff         b       0+0028 <text_label\+0x28>
25 [       ]*28: R_MIPS_GNU_REL16_S2       external_text_label
26 0+002c <[^>]*> 00000000         nop