forked from Imagelibrary/binutils-gdb
Add Elf_Internal_Chdr and ElfXX_External_Chdr
* external.h (Elf32_External_Chdr): New. (Elf64_External_Chdr): Likewise. * internal.h (Elf_Internal_Chdr): Likewise.
This commit is contained in:
@@ -135,6 +135,20 @@ typedef struct {
|
||||
unsigned char sh_entsize[8]; /* Entry size if section holds table */
|
||||
} Elf64_External_Shdr;
|
||||
|
||||
/* Compression header */
|
||||
|
||||
typedef struct {
|
||||
unsigned char ch_type[4]; /* Type of compression */
|
||||
unsigned char ch_size[4]; /* Size of uncompressed data in bytes */
|
||||
unsigned char ch_addralign[4]; /* Alignment of uncompressed data */
|
||||
} Elf32_External_Chdr;
|
||||
|
||||
typedef struct {
|
||||
unsigned char ch_type[8]; /* Type of compression */
|
||||
unsigned char ch_size[8]; /* Size of uncompressed data in bytes */
|
||||
unsigned char ch_addralign[8]; /* Alignment of uncompressed data */
|
||||
} Elf64_External_Chdr;
|
||||
|
||||
/* Symbol table entry */
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user