Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / elf64be.test
blobfabee534790f711f9c14a93a0ae369280bbcb123
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy %t %t2
3 # RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s
5 !ELF
6 FileHeader:
7   Class:           ELFCLASS64
8   Data:            ELFDATA2MSB
9   Type:            ET_EXEC
10   Machine:         EM_X86_64
11 Sections:
12   - Name:            .bss
13     Type:            SHT_NOBITS
14     Flags:           [ SHF_ALLOC ]
15     AddressAlign:    0x0000000000000010
16     Size:            64
17   - Name:            .text
18     Type:            SHT_PROGBITS
19     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
20     AddressAlign:    0x0000000000000010
21     Content:         "00000000"
23 # CHECK: Class: 64-bit
24 # CHECK: DataEncoding: BigEndian
26 # CHECK:      Name: .bss
27 # CHECK:      Name: .text
28 # CHECK:      Name: .shstrtab