diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-04-03 12:49:45 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-04-03 12:50:10 -0700 |
commit | 6aa76120296414774436cc14c60fe10fef86aa0f (patch) | |
tree | 0bf488ca38bac04721396234602fd10f0be9c6b2 /include/elf/external.h | |
parent | 25755e2b85e2bd5b313ea87f32000bf9a47dbbf8 (diff) | |
download | gdb-6aa76120296414774436cc14c60fe10fef86aa0f.zip gdb-6aa76120296414774436cc14c60fe10fef86aa0f.tar.gz gdb-6aa76120296414774436cc14c60fe10fef86aa0f.tar.bz2 |
Add Elf_Internal_Chdr and ElfXX_External_Chdr
* external.h (Elf32_External_Chdr): New.
(Elf64_External_Chdr): Likewise.
* internal.h (Elf_Internal_Chdr): Likewise.
Diffstat (limited to 'include/elf/external.h')
-rw-r--r-- | include/elf/external.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/elf/external.h b/include/elf/external.h index cd93c3c..b6057b5 100644 --- a/include/elf/external.h +++ b/include/elf/external.h @@ -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 { |