aboutsummaryrefslogtreecommitdiff
path: root/include/elf/internal.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-03 12:49:45 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-03 12:50:10 -0700
commit6aa76120296414774436cc14c60fe10fef86aa0f (patch)
tree0bf488ca38bac04721396234602fd10f0be9c6b2 /include/elf/internal.h
parent25755e2b85e2bd5b313ea87f32000bf9a47dbbf8 (diff)
downloadfsf-binutils-gdb-6aa76120296414774436cc14c60fe10fef86aa0f.zip
fsf-binutils-gdb-6aa76120296414774436cc14c60fe10fef86aa0f.tar.gz
fsf-binutils-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/internal.h')
-rw-r--r--include/elf/internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/elf/internal.h b/include/elf/internal.h
index 04e0582..b2492f5 100644
--- a/include/elf/internal.h
+++ b/include/elf/internal.h
@@ -115,6 +115,14 @@ typedef struct elf_internal_shdr {
unsigned char *contents; /* Section contents. */
} Elf_Internal_Shdr;
+/* Compression header */
+
+typedef struct elf_internal_chdr {
+ unsigned int ch_type; /* Type of compression */
+ bfd_size_type ch_size; /* Size of uncompressed data in bytes */
+ bfd_vma ch_addralign; /* Alignment of uncompressed data */
+} Elf_Internal_Chdr;
+
/* Symbol table entry */
struct elf_internal_sym {