summaryrefslogtreecommitdiff
path: root/test/libelf/tset/common/u1.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/libelf/tset/common/u1.yaml')
-rw-r--r--test/libelf/tset/common/u1.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/libelf/tset/common/u1.yaml b/test/libelf/tset/common/u1.yaml
new file mode 100644
index 0000000000000..992ddd0aded79
--- /dev/null
+++ b/test/libelf/tset/common/u1.yaml
@@ -0,0 +1,29 @@
+%YAML 1.1
+# $Id: u1.yaml 2053 2011-10-26 11:50:18Z jkoshy $
+---
+ehdr: !Ehdr
+ e_ident: !Ident
+ ei_class: ELFCLASSNONE
+ ei_data: ELFDATANONE
+ e_type: ET_REL
+
+phdrtab:
+ - !Phdr
+ p_type: PT_NULL
+ p_offset: 0x0F0F0F0F
+ p_vaddr: 0xA0A0A0A0
+ p_filesz: 0x1234
+ p_memsz: 0x5678
+ p_flags: [ PF_X, PF_R ]
+ p_align: 64
+
+sections:
+ - !Section # index 0
+ sh_type: SHT_NULL
+
+ - !Section
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_data:
+ - .shstrtab
+