diff options
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/external.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 879daa0..47d6bad 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2015-09-21 H.J. Lu <hongjiu.lu@intel.com> + + * external.h (Elf64_External_Chdr): Change ch_type to 4 bytes + and add ch_reserved. + 2015-08-11 Jiong Wang <jiong.wang@arm.com> * aarch64.h (R_AARCH64_P32_TLSLD_ADD_DTPREL_LO12): Define. diff --git a/include/elf/external.h b/include/elf/external.h index b6057b5..ffb00b8 100644 --- a/include/elf/external.h +++ b/include/elf/external.h @@ -144,7 +144,8 @@ typedef struct { } Elf32_External_Chdr; typedef struct { - unsigned char ch_type[8]; /* Type of compression */ + unsigned char ch_type[4]; /* Type of compression */ + unsigned char ch_reserved[4]; /* Padding */ unsigned char ch_size[8]; /* Size of uncompressed data in bytes */ unsigned char ch_addralign[8]; /* Alignment of uncompressed data */ } Elf64_External_Chdr; |