1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s --check-prefix COFF-I386
4 # COFF-I386-NEXT: - Name: .CRT
6 # COFF-I386: - Name: '.CRT$XCAA'
7 # COFF-I386-NEXT: Value: 4
8 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
9 # COFF-I386-NEXT: SectionDefinition:
10 # COFF-I386-NEXT: Length: 4
11 # COFF-I386-NEXT: NumberOfRelocations: 1
12 # COFF-I386-NEXT: NumberOfLinenumbers: 0
13 # COFF-I386: - Name: '.CRT$XIAA'
14 # COFF-I386-NEXT: Value: 16
15 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
16 # COFF-I386-NEXT: SectionDefinition:
17 # COFF-I386-NEXT: Length: 4
18 # COFF-I386-NEXT: NumberOfRelocations: 1
19 # COFF-I386-NEXT: NumberOfLinenumbers: 0
20 # COFF-I386: - Name: '.CRT$XLD'
21 # COFF-I386-NEXT: Value: 36
22 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
23 # COFF-I386-NEXT: SectionDefinition:
24 # COFF-I386-NEXT: Length: 4
25 # COFF-I386-NEXT: NumberOfRelocations: 1
26 # COFF-I386-NEXT: NumberOfLinenumbers: 0
27 # COFF-I386: - Name: '.CRT$XLC'
28 # COFF-I386-NEXT: Value: 32
29 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
30 # COFF-I386-NEXT: SectionDefinition:
31 # COFF-I386-NEXT: Length: 4
32 # COFF-I386-NEXT: NumberOfRelocations: 1
33 # COFF-I386-NEXT: NumberOfLinenumbers: 0
34 # COFF-I386: - Name: '.CRT$XDZ'
35 # COFF-I386-NEXT: Value: 48
36 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
37 # COFF-I386-NEXT: SectionDefinition:
38 # COFF-I386-NEXT: Length: 4
39 # COFF-I386-NEXT: NumberOfRelocations: 0
40 # COFF-I386-NEXT: NumberOfLinenumbers: 0
41 # COFF-I386: - Name: '.CRT$XDA'
42 # COFF-I386-NEXT: Value: 44
43 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
44 # COFF-I386-NEXT: SectionDefinition:
45 # COFF-I386-NEXT: Length: 4
46 # COFF-I386-NEXT: NumberOfRelocations: 0
47 # COFF-I386-NEXT: NumberOfLinenumbers: 0
48 # COFF-I386: - Name: '.CRT$XLZ'
49 # COFF-I386-NEXT: Value: 40
50 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
51 # COFF-I386-NEXT: SectionDefinition:
52 # COFF-I386-NEXT: Length: 4
53 # COFF-I386-NEXT: NumberOfRelocations: 0
54 # COFF-I386-NEXT: NumberOfLinenumbers: 0
55 # COFF-I386: - Name: '.CRT$XLA'
56 # COFF-I386-NEXT: Value: 28
57 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
58 # COFF-I386-NEXT: SectionDefinition:
59 # COFF-I386-NEXT: Length: 4
60 # COFF-I386-NEXT: NumberOfRelocations: 0
61 # COFF-I386-NEXT: NumberOfLinenumbers: 0
62 # COFF-I386: - Name: '.CRT$XIC'
63 # COFF-I386-NEXT: Value: 20
64 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
65 # COFF-I386-NEXT: SectionDefinition:
66 # COFF-I386-NEXT: Length: 4
67 # COFF-I386-NEXT: NumberOfRelocations: 1
68 # COFF-I386-NEXT: NumberOfLinenumbers: 0
69 # COFF-I386: - Name: '.CRT$XCZ'
70 # COFF-I386-NEXT: Value: 8
71 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
72 # COFF-I386-NEXT: SectionDefinition:
73 # COFF-I386-NEXT: Length: 4
74 # COFF-I386-NEXT: NumberOfRelocations: 0
75 # COFF-I386-NEXT: NumberOfLinenumbers: 0
76 # COFF-I386: - Name: '.CRT$XCA'
77 # COFF-I386-NEXT: Value: 0
78 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
79 # COFF-I386-NEXT: SectionDefinition:
80 # COFF-I386-NEXT: Length: 4
81 # COFF-I386-NEXT: NumberOfRelocations: 0
82 # COFF-I386-NEXT: NumberOfLinenumbers: 0
83 # COFF-I386: - Name: '.CRT$XIZ'
84 # COFF-I386-NEXT: Value: 24
85 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
86 # COFF-I386-NEXT: SectionDefinition:
87 # COFF-I386-NEXT: Length: 4
88 # COFF-I386-NEXT: NumberOfRelocations: 0
89 # COFF-I386-NEXT: NumberOfLinenumbers: 0
90 # COFF-I386: - Name: '.CRT$XIA'
91 # COFF-I386-NEXT: Value: 12
92 # COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
93 # COFF-I386-NEXT: SectionDefinition:
94 # COFF-I386-NEXT: Length: 4
95 # COFF-I386-NEXT: NumberOfRelocations: 0
96 # COFF-I386-NEXT: NumberOfLinenumbers: 0
100 Machine: IMAGE_FILE_MACHINE_I386
101 Characteristics: [ IMAGE_FILE_RELOCS_STRIPPED, IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LINE_NUMS_STRIPPED, IMAGE_FILE_32BIT_MACHINE, IMAGE_FILE_DEBUG_STRIPPED ]
104 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
106 SectionData: 0000000030114000000000000000000010104000401640000000000000000000B015400060154000000000000000000000000000
111 SimpleType: IMAGE_SYM_TYPE_NULL
112 ComplexType: IMAGE_SYM_DTYPE_NULL
113 StorageClass: IMAGE_SYM_CLASS_STATIC
116 NumberOfRelocations: 1
117 NumberOfLinenumbers: 0
123 SimpleType: IMAGE_SYM_TYPE_NULL
124 ComplexType: IMAGE_SYM_DTYPE_NULL
125 StorageClass: IMAGE_SYM_CLASS_STATIC
128 NumberOfRelocations: 1
129 NumberOfLinenumbers: 0
135 SimpleType: IMAGE_SYM_TYPE_NULL
136 ComplexType: IMAGE_SYM_DTYPE_NULL
137 StorageClass: IMAGE_SYM_CLASS_STATIC
140 NumberOfRelocations: 1
141 NumberOfLinenumbers: 0
147 SimpleType: IMAGE_SYM_TYPE_NULL
148 ComplexType: IMAGE_SYM_DTYPE_NULL
149 StorageClass: IMAGE_SYM_CLASS_STATIC
152 NumberOfRelocations: 1
153 NumberOfLinenumbers: 0
159 SimpleType: IMAGE_SYM_TYPE_NULL
160 ComplexType: IMAGE_SYM_DTYPE_NULL
161 StorageClass: IMAGE_SYM_CLASS_STATIC
164 NumberOfRelocations: 0
165 NumberOfLinenumbers: 0
171 SimpleType: IMAGE_SYM_TYPE_NULL
172 ComplexType: IMAGE_SYM_DTYPE_NULL
173 StorageClass: IMAGE_SYM_CLASS_STATIC
176 NumberOfRelocations: 0
177 NumberOfLinenumbers: 0
183 SimpleType: IMAGE_SYM_TYPE_NULL
184 ComplexType: IMAGE_SYM_DTYPE_NULL
185 StorageClass: IMAGE_SYM_CLASS_STATIC
188 NumberOfRelocations: 0
189 NumberOfLinenumbers: 0
195 SimpleType: IMAGE_SYM_TYPE_NULL
196 ComplexType: IMAGE_SYM_DTYPE_NULL
197 StorageClass: IMAGE_SYM_CLASS_STATIC
200 NumberOfRelocations: 0
201 NumberOfLinenumbers: 0
207 SimpleType: IMAGE_SYM_TYPE_NULL
208 ComplexType: IMAGE_SYM_DTYPE_NULL
209 StorageClass: IMAGE_SYM_CLASS_STATIC
212 NumberOfRelocations: 1
213 NumberOfLinenumbers: 0
219 SimpleType: IMAGE_SYM_TYPE_NULL
220 ComplexType: IMAGE_SYM_DTYPE_NULL
221 StorageClass: IMAGE_SYM_CLASS_STATIC
224 NumberOfRelocations: 0
225 NumberOfLinenumbers: 0
231 SimpleType: IMAGE_SYM_TYPE_NULL
232 ComplexType: IMAGE_SYM_DTYPE_NULL
233 StorageClass: IMAGE_SYM_CLASS_STATIC
236 NumberOfRelocations: 0
237 NumberOfLinenumbers: 0
243 SimpleType: IMAGE_SYM_TYPE_NULL
244 ComplexType: IMAGE_SYM_DTYPE_NULL
245 StorageClass: IMAGE_SYM_CLASS_STATIC
248 NumberOfRelocations: 0
249 NumberOfLinenumbers: 0
255 SimpleType: IMAGE_SYM_TYPE_NULL
256 ComplexType: IMAGE_SYM_DTYPE_NULL
257 StorageClass: IMAGE_SYM_CLASS_STATIC
260 NumberOfRelocations: 0
261 NumberOfLinenumbers: 0