1## Test the behaviour of --section-mapping when there are no program headers in an object. 2# RUN: yaml2obj %s -o %t 3# RUN: llvm-readelf --section-mapping %t | FileCheck %s --strict-whitespace --match-full-lines 4 5# CHECK: Section to Segment mapping: 6# CHECK-NEXT: Segment Sections... 7# CHECK-NEXT: None .foo .strtab .shstrtab 8# CHECK-NOT:{{.}} 9 10--- !ELF 11FileHeader: 12 Class: ELFCLASS32 13 Data: ELFDATA2LSB 14 Type: ET_DYN 15Sections: 16 - Name: .foo 17 Type: SHT_PROGBITS 18