mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-18 15:43:08 +08:00
Add chdr_size, Chdr, Chdr_write and Chdr_data
* elfcpp.h (Elf_sizes): Add chdr_size. (Chdr): New. (Chdr_write): Likewise. * elfcpp_internal.h (Chdr_data): Likewise.
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user