summaryrefslogtreecommitdiff
path: root/test/libelf/tset/common/newscn2.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/libelf/tset/common/newscn2.yaml')
-rw-r--r--test/libelf/tset/common/newscn2.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/libelf/tset/common/newscn2.yaml b/test/libelf/tset/common/newscn2.yaml
new file mode 100644
index 000000000000..f9f2c7d8dfe2
--- /dev/null
+++ b/test/libelf/tset/common/newscn2.yaml
@@ -0,0 +1,28 @@
+%YAML 1.1
+# $Id: newscn2.yaml 2077 2011-10-27 03:59:40Z jkoshy $
+#
+# This is the library-defined layout of the 'newscn' ELF object.
+---
+ehdr: !Ehdr
+ e_ident: !Ident
+ ei_class: ELFCLASSNONE
+ ei_data: ELFDATANONE
+ e_type: ET_REL
+
+sections:
+ - !Section # index 0
+ sh_type: SHT_NULL
+
+ - !Section
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_data:
+ - .shstrtab
+ - .foobar
+
+ - !Section
+ sh_name: .foobar
+ sh_type: SHT_PROGBITS
+ sh_data:
+ - 0x01234567
+ - 0x89ABCDEF