]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/elf/dwarf2-5.d
FT32B is a new FT32 family member. It has a code compression scheme, which requires...
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / elf / dwarf2-5.d
CommitLineData
ba8826a8
AO
1#as:
2#readelf: -x.rodata -wlL
3#name: DWARF2 5
81b42bca 4# The am33 avr cr16 crx ft32 mn10 msp430 nds32 pru rl78 rx and xtensa targets do not evaluate the subtraction of symbols at assembly time.
ba8826a8
AO
5# The mep target tries to relay code sections which breaks symbolic view computations.
6# The riscv targets do not support the subtraction of symbols.
7# The tile targets require 8-byte instructions, but the test only simulates 4-byte instructions.
81b42bca 8#not-target: am3*-* avr-* cr16-* crx-* ft32*-* mep-* mn10*-* msp430-* nds32*-* pru-* riscv*-* rl78-* rx-* tile*-* xtensa-*
ba8826a8
AO
9
10Hex dump of section '\.rodata':
11 0x00000000 01010201 010203 *.*
12
13Raw dump of debug contents of section \.debug_line:
14
15 Offset: 0x0
16 Length: [0-9]*
17 DWARF Version: 2
18 Prologue Length: [0-9]*
19 Minimum Instruction Length: [0-9]*
20 Initial value of 'is_stmt': 1
21 Line Base: [-0-9]*
22 Line Range: [0-9]*
23 Opcode Base: [0-9]*
24
25 Opcodes:
26 Opcode 1 has 0 args
27 Opcode 2 has 1 args
28 Opcode 3 has 1 args
29 Opcode 4 has 1 args
30 Opcode 5 has 1 args
31 Opcode 6 has 0 args
32 Opcode 7 has 0 args
33 Opcode 8 has 0 args
34 Opcode 9 has 1 args
35 Opcode 10 has 0 args
36 Opcode 11 has 0 args
37 Opcode 12 has 1 args
38
39 The Directory Table is empty.
40
41 The File Name Table \(offset 0x1c\):
42 Entry Dir Time Size Name
43 1 0 0 0 dwarf2-5\.c
44
45 Line Number Statements:
46 \[0x.*\] Extended opcode 2: set Address to 0x0
47 \[0x.*\] Copy
48 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x0 and Line by 1 to 2 \(view 1\)
49 \[0x.*\] Special opcode [0-9]*: advance Address by 4 to 0x4 and Line by 1 to 3
50 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x4 and Line by 1 to 4 \(view 1\)
51 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x4 and Line by 1 to 5 \(view 2\)
52 \[0x.*\] Special opcode [0-9]*: advance Address by 4 to 0x8 and Line by 1 to 6
53 \[0x.*\] Special opcode [0-9]*: advance Address by 4 to 0xc and Line by 1 to 7
54 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0xc and Line by 1 to 8 \(view 1\)
55 \[0x.*\] Special opcode [0-9]*: advance Address by 4 to 0x10 and Line by 1 to 9
56 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x10 and Line by 1 to 10 \(view 1\)
57 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x10 and Line by 1 to 11 \(view 2\)
58 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x10 and Line by 1 to 12 \(view 3\)
59 \[0x.*\] Advance PC by 4 to 0x14
60 \[0x.*\] Extended opcode 1: End of Sequence
61
62
63Decoded dump of debug contents of section \.debug_line:
64
65CU: dwarf2-5\.c:
66File name *Line number *Starting address *View
67dwarf2-5\.c *1 *0
68dwarf2-5\.c *2 *0 *1
69dwarf2-5\.c *3 *0x4
70dwarf2-5\.c *4 *0x4 *1
71dwarf2-5\.c *5 *0x4 *2
72dwarf2-5\.c *6 *0x8
73dwarf2-5\.c *7 *0xc
74dwarf2-5\.c *8 *0xc *1
75dwarf2-5\.c *9 *0x10
76dwarf2-5\.c *10 *0x10 *1
77dwarf2-5\.c *11 *0x10 *2
78dwarf2-5\.c *12 *0x10 *3
79dwarf2-5\.c *12 *0x14