* gas/mips/mips16-dwarf2.d: Pass -mabi=32. Include relocation
[platform/upstream/binutils.git] / gas / testsuite / gas / mips / mips16-dwarf2.d
1 #readelf: -r -wl
2 #name: MIPS16 DWARF2
3 #as: -mabi=32 -mips16 -no-mdebug -g0
4 #source: mips16-dwarf2.s
5
6 Relocation section '\.rel\.debug_info' at offset .* contains 4 entries:
7  *Offset * Info * Type * Sym\.Value * Sym\. Name
8 0+0006 * 0+..02 * R_MIPS_32 * 0+0000 * \.debug_abbrev
9 0+000c * 0+..02 * R_MIPS_32 * 0+0000 * \.debug_line
10 0+0010 * 0+..02 * R_MIPS_32 * 0+0000 * \.text
11 0+0014 * 0+..02 * R_MIPS_32 * 0+0000 * \.text
12
13 Relocation section '\.rel\.debug_line' at offset .* contains 1 entries:
14  *Offset * Info * Type * Sym\.Value * Sym\. Name
15 0+0030 * 0+..02 * R_MIPS_32 * 0+0000 * \.text
16
17 Dump of debug contents of section \.debug_line:
18
19   Length:                      64
20   DWARF Version:               2
21   Prologue Length:             35
22   Minimum Instruction Length:  1
23   Initial value of 'is_stmt':  1
24   Line Base:                   -5
25   Line Range:                  14
26   Opcode Base:                 10
27   \(Pointer size:               4\)
28
29  Opcodes:
30   Opcode 1 has 0 args
31   Opcode 2 has 1 args
32   Opcode 3 has 1 args
33   Opcode 4 has 1 args
34   Opcode 5 has 1 args
35   Opcode 6 has 0 args
36   Opcode 7 has 0 args
37   Opcode 8 has 0 args
38   Opcode 9 has 1 args
39
40  The Directory Table is empty\.
41
42  The File Name Table:
43   Entry Dir     Time    Size    Name
44   1     0       0       0       mips16-dwarf2\.s
45
46  Line Number Statements:
47   Extended opcode 2: set Address to 0x1
48   Special opcode 5: advance Address by 0 to 0x1 and Line by 0 to 1
49   Special opcode 34: advance Address by 2 to 0x3 and Line by 1 to 2
50   Special opcode 34: advance Address by 2 to 0x5 and Line by 1 to 3
51   Special opcode 62: advance Address by 4 to 0x9 and Line by 1 to 4
52   Special opcode 34: advance Address by 2 to 0xb and Line by 1 to 5
53   Special opcode 62: advance Address by 4 to 0xf and Line by 1 to 6
54   Special opcode 62: advance Address by 4 to 0x13 and Line by 1 to 7
55   Advance PC by 2286 to 901
56   Special opcode 6: advance Address by 0 to 0x901 and Line by 1 to 8
57   Advance PC by 15 to 910
58   Extended opcode 1: End of Sequence