diff options
Diffstat (limited to 'test/libelf/tset/common/rdwr2.yaml')
-rw-r--r-- | test/libelf/tset/common/rdwr2.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/libelf/tset/common/rdwr2.yaml b/test/libelf/tset/common/rdwr2.yaml new file mode 100644 index 000000000000..abb579132ed7 --- /dev/null +++ b/test/libelf/tset/common/rdwr2.yaml @@ -0,0 +1,28 @@ +%YAML 1.1 +# $Id: rdwr2.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 + - goodbye world + - !Section + sh_type: SHT_STRTAB + sh_name: .shstrtab + sh_data: + - .shstrtab + - .progbits |