Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / Inputs / ihex-elf-segments.yaml
blob17890373e2483635f0e52ae74afdd4a573a9938a
1 # Here we use yaml from ihex-elf-sections.yaml, but add single load
2 # segment containing all exported sections. In such case we should 
3 # use physical address of a section intead of virtual address. Physical
4 # addresses start from 0x100000, so we create two additional 'ExtenededAddr'
5 # (03) record in the beginning of IHex file with that physical address
6 !ELF
7 FileHeader:
8   Class:           ELFCLASS64
9   Data:            ELFDATA2LSB
10   Type:            ET_EXEC
11   Machine:         EM_X86_64
12   Entry:           0x100000
13 Sections:
14   - Name:            .text
15     Type:            SHT_PROGBITS
16     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
17     Address:         0x0
18     AddressAlign:    0x8
19     Content:         "000102030405060708090A0B0C0D0E0F1011121314"
20   - Name:            .data1
21     Type:            SHT_PROGBITS
22     Flags:           [ SHF_ALLOC ]
23     Content:         "3031323334353637383940"
24     Address:         0xFFF8
25     AddressAlign:    0x8
26   - Name:            .data2
27     Type:            SHT_PROGBITS
28     Flags:           [ SHF_ALLOC ]
29     Content:         "40414243"
30     Address:         0x10100
31     AddressAlign:    0x8
32   - Name:            .data3
33     Type:            SHT_PROGBITS
34     Flags:           [ SHF_ALLOC ]
35     Content:         "5051525354555657585960"
36     Address:         0x10FFF8
37     AddressAlign:    0x8
38   - Name:            .bss
39     Type:            SHT_NOBITS
40     Flags:           [ SHF_ALLOC ]
41     Address:         0x10100
42     Size:            0x1000
43     AddressAlign:    0x8
44   - Name:            .dummy
45     Type:            SHT_PROGBITS
46     Flags:           [ SHF_ALLOC ]
47     Address:         0x20FFF8
48     Size:            3
49     AddressAlign:    0x8
50   - Name:            .nonalloc
51     Type:            SHT_PROGBITS
52     Flags:           [ ]
53     Address:         0x300000
54     Size:            1
55 ProgramHeaders:
56   - Type:     PT_LOAD
57     Flags:    [ PF_X, PF_R ]
58     VAddr:    0xF00000000
59     PAddr:    0x100000
60     FirstSec: .text
61     LastSec:  .bss