summaryrefslogtreecommitdiff
path: root/test/COFF/Inputs/import.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/Inputs/import.yaml')
-rw-r--r--test/COFF/Inputs/import.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/COFF/Inputs/import.yaml b/test/COFF/Inputs/import.yaml
index 493400143d6ca..b7ae026de29be 100644
--- a/test/COFF/Inputs/import.yaml
+++ b/test/COFF/Inputs/import.yaml
@@ -7,6 +7,13 @@ sections:
Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
Alignment: 4
SectionData: 0000000000000000
+ Relocations:
+ - VirtualAddress: 0
+ SymbolName: exportfn1
+ Type: IMAGE_REL_AMD64_ADDR32NB
+ - VirtualAddress: 4
+ SymbolName: exportfn2
+ Type: IMAGE_REL_AMD64_ADDR32NB
symbols:
- Name: .text
Value: 0
@@ -16,7 +23,7 @@ symbols:
StorageClass: IMAGE_SYM_CLASS_STATIC
SectionDefinition:
Length: 8
- NumberOfRelocations: 0
+ NumberOfRelocations: 2
NumberOfLinenumbers: 0
CheckSum: 0
Number: 0