Upload Tizen:Base source
[external/binutils.git] / binutils / testsuite / binutils-all / x86-64 / compressed-1a.d
1 #PROG: objcopy
2 #source: compressed-1.s
3 #as: --64 --compress-debug-sections
4 #objcopy:
5 #readelf: -w
6 #name: objcopy on compressed debug sections
7
8 Contents of the .[z]?debug_abbrev section:
9
10   Number TAG
11    1      DW_TAG_compile_unit    \[has children\]
12     DW_AT_producer     DW_FORM_strp
13     DW_AT_language     DW_FORM_data1
14     DW_AT_name         DW_FORM_strp
15     DW_AT_comp_dir     DW_FORM_strp
16     DW_AT_low_pc       DW_FORM_addr
17     DW_AT_high_pc      DW_FORM_addr
18     DW_AT_stmt_list    DW_FORM_data4
19    2      DW_TAG_subprogram    \[no children\]
20     DW_AT_external     DW_FORM_flag
21     DW_AT_name         DW_FORM_strp
22     DW_AT_decl_file    DW_FORM_data1
23     DW_AT_decl_line    DW_FORM_data1
24     DW_AT_low_pc       DW_FORM_addr
25     DW_AT_high_pc      DW_FORM_addr
26     DW_AT_frame_base   DW_FORM_block1
27
28 Contents of the .[z]?debug_info section:
29
30   Compilation Unit @ offset 0x0:
31    Length:        0x5e \(32-bit\)
32    Version:       3
33    Abbrev Offset: 0
34    Pointer Size:  8
35  <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
36     < c>   DW_AT_producer    : \(indirect string, offset: 0x0\): GNU C 4.4.4    
37     <10>   DW_AT_language    : 1        \(ANSI C\)
38     <11>   DW_AT_name        : \(indirect string, offset: 0x18\): compressed-1.c        
39     <15>   DW_AT_comp_dir    : \(indirect string, offset: 0x16\): .     
40     <19>   DW_AT_low_pc      : 0x0      
41     <21>   DW_AT_high_pc     : 0x15     
42     <29>   DW_AT_stmt_list   : 0x0      
43  <1><2d>: Abbrev Number: 2 \(DW_TAG_subprogram\)
44     <2e>   DW_AT_external    : 1        
45     <2f>   DW_AT_name        : \(indirect string, offset: 0xc\): foo2   
46     <33>   DW_AT_decl_file   : 1        
47     <34>   DW_AT_decl_line   : 10       
48     <35>   DW_AT_low_pc      : 0x0      
49     <3d>   DW_AT_high_pc     : 0x2      
50     <45>   DW_AT_frame_base  : 1 byte block: 9c         \(DW_OP_call_frame_cfa\)
51  <1><47>: Abbrev Number: 2 \(DW_TAG_subprogram\)
52     <48>   DW_AT_external    : 1        
53     <49>   DW_AT_name        : \(indirect string, offset: 0x11\): foo1  
54     <4d>   DW_AT_decl_file   : 1        
55     <4e>   DW_AT_decl_line   : 4        
56     <4f>   DW_AT_low_pc      : 0x10     
57     <57>   DW_AT_high_pc     : 0x15     
58     <5f>   DW_AT_frame_base  : 1 byte block: 9c         \(DW_OP_call_frame_cfa\)
59
60 Raw dump of debug contents of section .[z]?debug_line:
61
62   Offset:                      0x0
63   Length:                      67
64   DWARF Version:               2
65   Prologue Length:             37
66   Minimum Instruction Length:  1
67   Initial value of 'is_stmt':  1
68   Line Base:                   -5
69   Line Range:                  14
70   Opcode Base:                 13
71
72  Opcodes:
73   Opcode 1 has 0 args
74   Opcode 2 has 1 args
75   Opcode 3 has 1 args
76   Opcode 4 has 1 args
77   Opcode 5 has 1 args
78   Opcode 6 has 0 args
79   Opcode 7 has 0 args
80   Opcode 8 has 0 args
81   Opcode 9 has 1 args
82   Opcode 10 has 0 args
83   Opcode 11 has 0 args
84   Opcode 12 has 1 args
85
86  The Directory Table is empty.
87
88  The File Name Table:
89   Entry Dir     Time    Size    Name
90   1     0       0       0       compressed-1.c
91
92  Line Number Statements:
93   Extended opcode 2: set Address to 0x0
94   Advance Line by 10 to 11
95   Copy
96   Special opcode 6: advance Address by 0 to 0x0 and Line by 1 to 12
97   Advance Line by -7 to 5
98   Special opcode 229: advance Address by 16 to 0x10 and Line by 0 to 5
99   Special opcode 6: advance Address by 0 to 0x10 and Line by 1 to 6
100   Advance PC by 5 to 0x15
101   Extended opcode 1: End of Sequence
102
103
104 Contents of the .[z]?debug_pubnames section:
105
106   Length:                              32
107   Version:                             2
108   Offset into .[z]?debug_info section:     0x0
109   Size of area in .[z]?debug_info section: 98
110
111     Offset      Name
112     2d          foo2
113     47          foo1
114
115 Contents of the .[z]?debug_aranges section:
116
117   Length:                   44
118   Version:                  2
119   Offset into .[z]?debug_info:  0x0
120   Pointer Size:             8
121   Segment Size:             0
122
123     Address            Length
124     0000000000000000 0000000000000015 
125     0000000000000000 0000000000000000 
126
127 Contents of the .[z]?debug_str section:
128
129   0x00000000 474e5520 4320342e 342e3400 666f6f32 GNU C 4.4.4.foo2
130   0x00000010 00666f6f 31002e00 636f6d70 72657373 .foo1...compress
131   0x00000020 65642d31 2e6300                     ed-1.c.
132
133 Contents of the .[z]?debug_frame section:
134
135 00000000 00000014 ffffffff CIE
136   Version:               1
137   Augmentation:          ""
138   Code alignment factor: 1
139   Data alignment factor: -8
140   Return address column: 16
141
142   DW_CFA_def_cfa: r7 \(rsp\) ofs 8
143   DW_CFA_offset: r16 \(rip\) at cfa-8
144   DW_CFA_nop
145   DW_CFA_nop
146   DW_CFA_nop
147   DW_CFA_nop
148   DW_CFA_nop
149   DW_CFA_nop
150
151 00000018 00000014 00000000 FDE cie=00000000 pc=00000000..00000002
152
153 00000030 00000014 00000000 FDE cie=00000000 pc=00000010..00000015
154