1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| # Show that llvm-readobj can handle no program headers when --program-headers
# is requested, both for LLVM and GNU output.
# RUN: yaml2obj %s -o %t
# RUN: llvm-readobj %t --program-headers | FileCheck %s --check-prefix=LLVM
# RUN: llvm-readelf %t --program-headers | FileCheck %s --check-prefix=GNU
# LLVM: ProgramHeaders [
# LLVM-NEXT: ]
# GNU: There are 0 program headers
# GNU: Program Headers:
# GNU-NEXT: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
# GNU-EMPTY:
# GNU-NEXT: Section to Segment mapping:
# GNU-NEXT: Segment Sections...
# GNU-NEXT: None .strtab .shstrtab
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
|