diff options
Diffstat (limited to 'test/libelf/tset/common/rdwr.yaml')
-rw-r--r-- | test/libelf/tset/common/rdwr.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/libelf/tset/common/rdwr.yaml b/test/libelf/tset/common/rdwr.yaml new file mode 100644 index 0000000000000..927c5a4865d4a --- /dev/null +++ b/test/libelf/tset/common/rdwr.yaml @@ -0,0 +1,27 @@ +%YAML 1.1 +--- +# $Id: rdwr.yaml 2077 2011-10-27 03:59:40Z jkoshy $ +# +# This file is used for tests requiring a well-formed ELF file +# opened in ELF_C_RDWR mode. +# +ehdr: !Ehdr + e_ident: !Ident + ei_class: ELFCLASSNONE + ei_data: ELFDATANONE + e_type: ET_REL + +sections: + - !Section + sh_type: SHT_NULL + - !Section + sh_type: SHT_PROGBITS + sh_name: .progbits + sh_data: + - hello world + - !Section + sh_type: SHT_STRTAB + sh_name: .shstrtab + sh_data: + - .shstrtab + - .progbits |