File: testranges-ia64.s

package info (click to toggle)
binutils-m68hc1x 1%3A2.35.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 335,580 kB
  • sloc: ansic: 1,187,755; asm: 674,290; cpp: 130,744; exp: 70,774; makefile: 56,048; sh: 22,128; yacc: 14,459; lisp: 13,803; perl: 2,112; ada: 1,681; lex: 1,649; pascal: 1,446; cs: 879; sed: 195; xml: 95; awk: 25
file content (57 lines) | stat: -rw-r--r-- 1,450 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Test .debug_info can reference .debug_ranges entries without ordering the
# offsets strictly as increasing.

	.text
start:
	.byte	1
sub:
	.byte	2
end:

	.section	.debug_ranges,"",@progbits
range:

range_sub:
	data4.ua	@secrel(sub), @secrel(end)
	data4.ua	0, 0	/* range terminator  */

range_cu:
	data4.ua	@secrel(start), @secrel(end)
	data4.ua	0, 0	/* range terminator  */

	.section	.debug_info,"",@progbits
	data4.ua	debugE - debugS	/* Length of Compilation Unit Info  */
debugS:
	.short	0x2	/* DWARF version number  */
	data4.ua	@secrel(abbrev0) /* Offset Into Abbrev. Section  */
	.byte	0x4	/* Pointer Size (in bytes)  */

	.uleb128 0x1	/* (DIE (0xb) DW_TAG_compile_unit)  */
	data4.ua	range_cu - range	/* DW_AT_ranges  */

	.uleb128 0x2	/* (DIE (0x6d) DW_TAG_subprogram)  */
	.ascii "A\0"	/* DW_AT_name */
	data4.ua	range_sub - range	/* DW_AT_ranges  */
debugE:

	.section	.debug_abbrev,"",@progbits
abbrev0:
	.uleb128 0x1	/* (abbrev code)  */
	.uleb128 0x11	/* (TAG: DW_TAG_compile_unit)  */
	.byte	0x0	/* DW_children_no  */
	.uleb128 0x55	/* (DW_AT_ranges)  */
	.uleb128 0x6	/* (DW_FORM_data4)  */
	.byte	0x0
	.byte	0x0

	.uleb128 0x2	/* (abbrev code)  */
	.uleb128 0x2e	/* (TAG: DW_TAG_subprogram)  */
	.byte	0x0	/* DW_children_no  */
	.uleb128 0x3	/* (DW_AT_name)  */
	.uleb128 0x8	/* (DW_FORM_string)  */
	.uleb128 0x55	/* (DW_AT_ranges)  */
	.uleb128 0x6	/* (DW_FORM_data4) */
	.byte	0x0
	.byte	0x0

	.byte	0x0	/* abbrevs terminator  */