Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / dynstr.test
blobdab78df85d613ac05fe55e34aab18a524462a890
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy %t %t2
3 # RUN: llvm-readobj --sections --section-data %t2 | FileCheck %s
5 !ELF
6 FileHeader:
7   Class:           ELFCLASS64
8   Data:            ELFDATA2LSB
9   Type:            ET_EXEC
10   Machine:         EM_X86_64
11 Sections:
12   - Name:            .dynstr
13     Type:            SHT_STRTAB
14     Flags:           [ SHF_ALLOC ]
15     Address:         0x1000
16     Content:         "002EDEADBEEF002EBAADF00D00"
18 #CHECK:         Name: .dynstr
19 #CHECK-NEXT:    Type: SHT_STRTAB
20 #CHECK-NEXT:    Flags [
21 #CHECK-NEXT:      SHF_ALLOC
22 #CHECK-NEXT:    ]
23 #CHECK-NEXT:    Address: 0x1000
24 #CHECK-NEXT:    Offset:
25 #CHECK-NEXT:    Size: 13
26 #CHECK-NEXT:    Link:
27 #CHECK-NEXT:    Info:
28 #CHECK-NEXT:    AddressAlignment:
29 #CHECK-NEXT:    EntrySize:
30 #CHECK-NEXT:    SectionData (
31 #CHECK-NEXT:      0000: 002EDEAD BEEF002E BAADF00D 00
32 #CHECK-NEXT:    )