1*55c81d42SFangrui Song# RUN: yaml2obj %s -o %t 2298ea3f5SJordan Rupprecht# RUN: llvm-objcopy -R=.test --only-section=.test %t %t2 3298ea3f5SJordan Rupprecht# RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s 485985ed3SJake Ehrlich 585985ed3SJake Ehrlich!ELF 685985ed3SJake EhrlichFileHeader: 785985ed3SJake Ehrlich Class: ELFCLASS64 885985ed3SJake Ehrlich Data: ELFDATA2LSB 985985ed3SJake Ehrlich Type: ET_REL 1085985ed3SJake Ehrlich Machine: EM_X86_64 1185985ed3SJake EhrlichSections: 1285985ed3SJake Ehrlich - Name: .test 1385985ed3SJake Ehrlich Type: SHT_PROGBITS 1485985ed3SJake Ehrlich Flags: [ ] 1585985ed3SJake Ehrlich 162779987dSGeorge Rimar# CHECK: SectionHeaderCount: 3 1785985ed3SJake Ehrlich 1885985ed3SJake Ehrlich# CHECK: Name: .test 1985985ed3SJake Ehrlich# CHECK: Name: .shstrtab 20