aboutsummaryrefslogtreecommitdiff
path: root/test/COFF/loadcfg32.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/loadcfg32.test')
-rw-r--r--test/COFF/loadcfg32.test20
1 files changed, 18 insertions, 2 deletions
diff --git a/test/COFF/loadcfg32.test b/test/COFF/loadcfg32.test
index f7780e1d0373..03a066c1e552 100644
--- a/test/COFF/loadcfg32.test
+++ b/test/COFF/loadcfg32.test
@@ -5,7 +5,7 @@
# CHECK: LoadConfigTableRVA: 0x1000
# CHECK: LoadConfigTableSize: 0x40
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
@@ -14,6 +14,10 @@ sections:
Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
Alignment: 4
SectionData: B82A000000C3
+ - Name: .rdata
+ Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
+ Alignment: 4
+ SectionData: '40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
symbols:
- Name: .text
Value: 0
@@ -33,9 +37,21 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_EXTERNAL
+ - Name: .rdata
+ Value: 0
+ SectionNumber: 2
+ SimpleType: IMAGE_SYM_TYPE_NULL
+ ComplexType: IMAGE_SYM_DTYPE_NULL
+ StorageClass: IMAGE_SYM_CLASS_STATIC
+ SectionDefinition:
+ Length: 64
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 2
- Name: __load_config_used
Value: 0
- SectionNumber: 1
+ SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_EXTERNAL