1## Check that e_phoff and e_phentsize are set to 0 when there are no 2## program headers. 3 4# RUN: yaml2obj %s -o %t 5# RUN: llvm-readobj --file-headers %t | FileCheck %s 6 7# CHECK: ProgramHeaderOffset: 0x0{{$}} 8# CHECK: ProgramHeaderEntrySize: 0{{$}} 9 10--- !ELF 11FileHeader: 12 Class: ELFCLASS64 13 Data: ELFDATA2LSB 14 Type: ET_REL 15