7f3d21cec995e797e9cb8f7d8e69f7cbe9176f6b
[binutils-gdb.git] / gas / testsuite / gas / elf / dwarf2-20.d
1 #as: -gdwarf-3
2 #readelf: -wr
3 #name: DWARF2_20: debug ranges ignore non-code sections
4 # The mn10200 target has a pointer size of 3, but it does not use segment selectors. This confuses DWARF and readelf will complain.
5 #xfail: mn102*-*
6 # score-elf, tic6x-elf and xtensa-elf need special handling to support .nop 16
7 #xfail: score-* tic6x-* xtensa-*
8 #warning: .* \.alloc0 ignored
9 #warning: .* \.alloc1 ignored
10 #warning: .* \.nonalloc ignored
11 #warning: .* \.nonallocexec ignored
12
13 Contents of the .debug_aranges section:
14
15 [ ]+Length:[ ]+(16|28|44)
16 [ ]+Version:.*
17 [ ]+Offset into .debug_info:[ ]+0x0
18 [ ]+Pointer Size:[ ]+(2|4|8)
19 [ ]+Segment Size:[ ]+0
20
21 [ ]+Address[ ]+Length
22 [ ]+0+000 0+010
23 [ ]+0+000 0+000
24 #pass