diff options
Diffstat (limited to 'elfcpp/elfcpp_internal.h')
-rw-r--r-- | elfcpp/elfcpp_internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/elfcpp/elfcpp_internal.h b/elfcpp/elfcpp_internal.h index d800f7a0713..424a1f6f713 100644 --- a/elfcpp/elfcpp_internal.h +++ b/elfcpp/elfcpp_internal.h @@ -79,6 +79,16 @@ struct Shdr_data typename Elf_types<size>::Elf_WXword sh_entsize; }; +// An ELF compression header. + +template<int size> +struct Chdr_data +{ + typename Elf_types<size>::Elf_WXword ch_type; + typename Elf_types<size>::Elf_WXword ch_size; + typename Elf_types<size>::Elf_WXword ch_addralign; +}; + // An ELF segment header. We use template specialization for the // 32-bit and 64-bit versions because the fields are in a different // order. |