Change ch_type in Elf64_External_Chdr to 4 bytes
[external/binutils.git] / include / elf / external.h
index b6057b5..ffb00b8 100644 (file)
@@ -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;