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
5 # CHECK: Section to Segment mapping:
6 # CHECK-NEXT: Segment Sections...
7 # CHECK-NEXT: None .foo .strtab .shstrtab