tizen 2.4 release
[external/binutils.git] / gdb / testsuite / gdb.dwarf2 / dw2-dos-drive.S
1 /* Copyright 2013-2014 Free Software Foundation, Inc.
2
3    This program is free software; you can redistribute it and/or modify
4    it under the terms of the GNU General Public License as published by
5    the Free Software Foundation; either version 3 of the License, or
6    (at your option) any later version.
7
8    This program is distributed in the hope that it will be useful,
9    but WITHOUT ANY WARRANTY; without even the implied warranty of
10    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11    GNU General Public License for more details.
12
13    You should have received a copy of the GNU General Public License
14    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
15
16         .text
17 pc_start:
18         /* Enough space to fit at least one instruction.  */
19         .4byte  0
20 pc_end:
21
22         .section        .debug_info
23 d:
24         .4byte  .Ldebug_info_end - 1f   /* Length of Compilation Unit Info */
25 1:
26         .2byte  0x3     /* DWARF version number */
27         .4byte  .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
28         .byte   0x4     /* Pointer Size (in bytes) */
29 dieb:
30         .uleb128 0x1    /* (DIE (0xb) DW_TAG_compile_unit) */
31         .ascii  "GCC\0" /* DW_AT_producer */
32         .byte   0x2     /* DW_AT_language = DW_LANG_C */
33         .ascii  "z:file.c\0"    /* DW_AT_name */
34
35         .uleb128 0x2            /* (DIE (0xd3) DW_TAG_subprogram) */
36         .byte   0x1             /* DW_AT_external */
37         .ascii  "func\0"        /* DW_AT_name */
38         .4byte  pc_start        /* DW_AT_low_pc */
39         .4byte  pc_end          /* DW_AT_high_pc */
40         .byte   0x1             /* DW_AT_prototyped */
41
42         .byte   0x0     /* end of children of DIE 0xb */
43 .Ldebug_info_end:
44
45         .section        .debug_abbrev
46 .Ldebug_abbrev0:
47
48         .uleb128 0x1    /* (abbrev code) */
49         .uleb128 0x11   /* (TAG: DW_TAG_compile_unit) */
50         .byte   0x1     /* DW_children_yes */
51         .uleb128 0x25   /* (DW_AT_producer) */
52         .uleb128 0x8    /* (DW_FORM_string) */
53         .uleb128 0x13   /* (DW_AT_language) */
54         .uleb128 0xb    /* (DW_FORM_data1) */
55         .uleb128 0x3    /* (DW_AT_name) */
56         .uleb128 0x8    /* (DW_FORM_string) */
57         .byte   0x0
58         .byte   0x0
59
60         .uleb128 0x2    /* (abbrev code) */
61         .uleb128 0x2e   /* (DW_TAG_subprogram) */
62         .byte   0x0     /* DW_children_no */
63         .uleb128 0x3f   /* (DW_AT_external) */
64         .uleb128 0xc    /* (DW_FORM_flag) */
65         .uleb128 0x3    /* (DW_AT_name) */
66         .uleb128 0x8    /* (DW_FORM_string) */
67         .uleb128 0x11   /* (DW_AT_low_pc) */
68         .uleb128 0x1    /* (DW_FORM_addr) */
69         .uleb128 0x12   /* (DW_AT_high_pc) */
70         .uleb128 0x1    /* (DW_FORM_addr) */
71         .uleb128 0x27   /* (DW_AT_prototyped) */
72         .uleb128 0xc    /* (DW_FORM_flag) */
73         .byte   0x0
74         .byte   0x0
75
76         .byte   0x0