]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-mips-elf/undefweak-overflow.d
MIPS: Verify the ISA mode and alignment of branch and jump targets
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-mips-elf / undefweak-overflow.d
1 #name: undefined weak symbol overflow
2 #source: undefweak-overflow.s
3 #ld: -Ttext=0x20000000 -e start
4 #objdump: -dr --show-raw-insn
5 #...
6 [0-9a-f]+ <_ftext>:
7 [ 0-9a-f]+: d85fffff beqzc v0,20000000 <_ftext>
8 [ 0-9a-f]+: 00000000 nop
9 [ 0-9a-f]+: f85ffffd bnezc v0,20000000 <_ftext>
10 [ 0-9a-f]+: ec4ffffd lwpc v0,20000000 <_ftext>
11 [ 0-9a-f]+: ec5bfffe ldpc v0,20000000 <_ftext>
12 [ 0-9a-f]+: cbfffffa bc 20000000 <_ftext>
13 [ 0-9a-f]+: ec9ee000 auipc a0,0xe000
14 [ 0-9a-f]+: 2484ffe8 addiu a0,a0,-24
15 [ 0-9a-f]+: 1000fff7 b 20000000 <_ftext>
16 [ 0-9a-f]+: 00000000 nop
17 [ 0-9a-f]+: 0411fff5 bal 20000000 <_ftext>
18 [ 0-9a-f]+: 3c...... lui a0,0x....
19 [ 0-9a-f]+: 0c000000 jal 20000000 <_ftext>
20 [ 0-9a-f]+: 00000000 nop
21 [ 0-9a-f]+: 08000000 j 20000000 <_ftext>
22 [ 0-9a-f]+: 00000000 nop
23
24 [0-9a-f]+ <micro>:
25 [ 0-9a-f]+: 8e5f beqz a0,20000000 <_ftext>
26 [ 0-9a-f]+: 0c00 nop
27 [ 0-9a-f]+: cfdd b 20000000 <_ftext>
28 [ 0-9a-f]+: 0c00 nop
29 [ 0-9a-f]+: 9400 ffda b 20000000 <_ftext>
30 [ 0-9a-f]+: 0c00 nop
31 [ 0-9a-f]+: 4060 ffd7 bal 20000000 <_ftext>
32 [ 0-9a-f]+: 0000 0000 nop
33 [ 0-9a-f]+: f400 0000 jal 20000000 <_ftext>
34 [ 0-9a-f]+: 0000 0000 nop
35 [ 0-9a-f]+: d400 0000 j 20000000 <_ftext>
36 [ 0-9a-f]+: 0c00 nop
37
38 [0-9a-f]+ <mips16>:
39 [ 0-9a-f]+: f7df 100c b 20000000 <_ftext>
40 [ 0-9a-f]+: 1800 0000 jal 20000000 <_ftext>
41 [ 0-9a-f]+: 6500 nop
42 #pass