1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /out:%t.exe /entry:main %t.obj
3 # RUN: llvm-objdump -s %t.exe | FileCheck %s
6 # CHECK: 401000 01204000 00000000 00000000 00000000
7 # CHECK: 401010 01200000 00000000 00000000 00000000
8 # CHECK: 401020 42f20009 c0f24009 00000000 00000000
9 # CHECK: 401030 0000e62f 00000000 00000000 00000000
10 # CHECK: 401040 0000de07 00000000 00000000 00000000
11 # CHECK: 401050 0000d62f 00000000 00000000 00000000
12 # CHECK: 401060 00f1cef7 00000000 00000000 00000000
13 # CHECK: 401070 00005000 00000000 00000000 00000000
17 Machine: IMAGE_FILE_MACHINE_ARMNT
21 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_PURGEABLE, IMAGE_SCN_MEM_16BIT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
23 SectionData: 0000000000000000
25 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_PURGEABLE, IMAGE_SCN_MEM_16BIT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
27 SectionData: 00000000000000000000000000000000000000000000000000000000000000004ff6ff79cff6ff79000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f000f800000000000000000000000000000000000000000000000000000000
31 Type: IMAGE_REL_ARM_ADDR32
34 Type: IMAGE_REL_ARM_ADDR32NB
37 Type: IMAGE_REL_ARM_MOV32T
40 Type: IMAGE_REL_ARM_BRANCH24T
43 Type: IMAGE_REL_ARM_BRANCH20T
46 Type: IMAGE_REL_ARM_BLX23T
49 Type: IMAGE_REL_ARM_BRANCH24T
52 Type: IMAGE_REL_ARM_SECREL
57 SimpleType: IMAGE_SYM_TYPE_NULL
58 ComplexType: IMAGE_SYM_DTYPE_NULL
59 StorageClass: IMAGE_SYM_CLASS_STATIC
63 SimpleType: IMAGE_SYM_TYPE_NULL
64 ComplexType: IMAGE_SYM_DTYPE_NULL
65 StorageClass: IMAGE_SYM_CLASS_STATIC
69 SimpleType: IMAGE_SYM_TYPE_NULL
70 ComplexType: IMAGE_SYM_DTYPE_NULL
71 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
75 SimpleType: IMAGE_SYM_TYPE_NULL
76 ComplexType: IMAGE_SYM_DTYPE_NULL
77 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
81 SimpleType: IMAGE_SYM_TYPE_NULL
82 ComplexType: IMAGE_SYM_DTYPE_NULL
83 StorageClass: IMAGE_SYM_CLASS_EXTERNAL