* gas/mips/mips16-dwarf2.d: Pass -mabi=32. Include relocation
[platform/upstream/binutils.git] / gas / testsuite / gas / mips / mips16-dwarf2-n32.d
1 #readelf: -r -wl
2 #name: MIPS16 DWARF2
3 #as: -march=mips3 -mabi=n32 -mips16 -no-mdebug -g0
4 #source: mips16-dwarf2.s
5
6 Relocation section '\.rela\.debug_info' at offset .* contains 4 entries:
7  *Offset * Info * Type * Sym\.Value * Sym\. Name \+ Addend
8 0+0006 * 0+..02 * R_MIPS_32 * 0+0000 * \.debug_abbrev \+ 0
9 0+000c * 0+..02 * R_MIPS_32 * 0+0000 * \.debug_line \+ 0
10 0+0010 * 0+..02 * R_MIPS_32 * 0+0000 * \.text \+ 0
11 0+0014 * 0+..02 * R_MIPS_32 * 0+0000 * \.text \+ 910
12
13 Relocation section '\.rela\.debug_line' at offset .* contains 1 entries:
14  *Offset * Info * Type * Sym\.Value * Sym\. Name \+ Addend
15 0+0030 * 0+..02 * R_MIPS_32 * 0+0000 * .text \+ 1
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 0x0
48   Special opcode 5: advance Address by 0 to 0x0 and Line by 0 to 1
49   Special opcode 34: advance Address by 2 to 0x2 and Line by 1 to 2
50   Special opcode 34: advance Address by 2 to 0x4 and Line by 1 to 3
51   Special opcode 62: advance Address by 4 to 0x8 and Line by 1 to 4
52   Special opcode 34: advance Address by 2 to 0xa and Line by 1 to 5
53   Special opcode 62: advance Address by 4 to 0xe and Line by 1 to 6
54   Special opcode 62: advance Address by 4 to 0x12 and Line by 1 to 7
55   Advance PC by 2286 to 900
56   Special opcode 6: advance Address by 0 to 0x900 and Line by 1 to 8
57   Advance PC by 15 to 90f
58   Extended opcode 1: End of Sequence