brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · bd5aa07 Raw
84 lines · plain
1# REQUIRES: x862# RUN: yaml2obj %s -o %t.obj3# RUN: lld-link -safeseh:no /out:%t.exe /entry:main /base:0x400000 %t.obj4# RUN: llvm-objdump -d %t.exe | FileCheck %s5 6# CHECK: .text:7# CHECK: 1000: a1 00 00 00 008# CHECK: 1005: a1 03 20 40 009# CHECK: 100a: a1 03 20 00 0010# CHECK: 100f: a1 ef 0f 00 0011# CHECK: 1014: a1 00 00 02 0012# CHECK: 1019: a1 03 00 00 0013 14--- !COFF15header:16  Machine:         IMAGE_FILE_MACHINE_I38617  Characteristics: []18sections:19  - Name:            .text20    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]21    Alignment:       409622    SectionData:     A100000000A100000000A100000000A100000000A100000000A10000000023    Relocations:24      - VirtualAddress:  125        SymbolName:      _foo26        Type:            IMAGE_REL_I386_ABSOLUTE27      - VirtualAddress:  628        SymbolName:      _foo29        Type:            IMAGE_REL_I386_DIR3230      - VirtualAddress:  1131        SymbolName:      _foo32        Type:            IMAGE_REL_I386_DIR32NB33      - VirtualAddress:  1634        SymbolName:      _foo35        Type:            IMAGE_REL_I386_REL3236      - VirtualAddress:  2337        SymbolName:      _foo38        Type:            IMAGE_REL_I386_SECTION39      - VirtualAddress:  2640        SymbolName:      _foo41        Type:            IMAGE_REL_I386_SECREL42  - Name:            .zzz43    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]44    Alignment:       409645    SectionData:     000000000000000046symbols:47  - Name:            .text48    Value:           049    SectionNumber:   150    SimpleType:      IMAGE_SYM_TYPE_NULL51    ComplexType:     IMAGE_SYM_DTYPE_NULL52    StorageClass:    IMAGE_SYM_CLASS_STATIC53    SectionDefinition:54      Length:          655      NumberOfRelocations: 056      NumberOfLinenumbers: 057      CheckSum:        058      Number:          059  - Name:            .zzz60    Value:           061    SectionNumber:   262    SimpleType:      IMAGE_SYM_TYPE_NULL63    ComplexType:     IMAGE_SYM_DTYPE_NULL64    StorageClass:    IMAGE_SYM_CLASS_STATIC65    SectionDefinition:66      Length:          867      NumberOfRelocations: 068      NumberOfLinenumbers: 069      CheckSum:        070      Number:          071  - Name:            _main72    Value:           073    SectionNumber:   174    SimpleType:      IMAGE_SYM_TYPE_NULL75    ComplexType:     IMAGE_SYM_DTYPE_NULL76    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL77  - Name:            _foo78    Value:           379    SectionNumber:   280    SimpleType:      IMAGE_SYM_TYPE_NULL81    ComplexType:     IMAGE_SYM_DTYPE_NULL82    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL83...84