aboutsummaryrefslogtreecommitdiff
path: root/include/elf/internal.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-12-11 05:37:33 +0000
committerAlan Modra <amodra@gmail.com>2001-12-11 05:37:33 +0000
commit2d4d1975bdcc6d729e3e156485e167c6daa72f80 (patch)
tree05af2f65dfbaa5fd8413b6ebc81f21936cee9f6d /include/elf/internal.h
parentca45b5982fdc5f8d3e57f826c45583f9f7dd1f52 (diff)
downloadfsf-binutils-gdb-2d4d1975bdcc6d729e3e156485e167c6daa72f80.zip
fsf-binutils-gdb-2d4d1975bdcc6d729e3e156485e167c6daa72f80.tar.gz
fsf-binutils-gdb-2d4d1975bdcc6d729e3e156485e167c6daa72f80.tar.bz2
* common.h (SHN_XINDEX): Comment typo fix.
* internal.h (Elf_Internal_Ehdr): Change existing "unsigned short" size, count and index fields to "unsigned int".
Diffstat (limited to 'include/elf/internal.h')
-rw-r--r--include/elf/internal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/elf/internal.h b/include/elf/internal.h
index 26e7db6..1e3f6a3 100644
--- a/include/elf/internal.h
+++ b/include/elf/internal.h
@@ -50,12 +50,12 @@ typedef struct elf_internal_ehdr {
unsigned long e_flags; /* Processor-specific flags */
unsigned short e_type; /* Identifies object file type */
unsigned short e_machine; /* Specifies required architecture */
- unsigned short e_ehsize; /* ELF header size in bytes */
- unsigned short e_phentsize; /* Program header table entry size */
- unsigned short e_phnum; /* Program header table entry count */
- unsigned short e_shentsize; /* Section header table entry size */
- unsigned short e_shnum; /* Section header table entry count */
- unsigned short e_shstrndx; /* Section header string table index */
+ unsigned int e_ehsize; /* ELF header size in bytes */
+ unsigned int e_phentsize; /* Program header table entry size */
+ unsigned int e_phnum; /* Program header table entry count */
+ unsigned int e_shentsize; /* Section header table entry size */
+ unsigned int e_shnum; /* Section header table entry count */
+ unsigned int e_shstrndx; /* Section header string table index */
} Elf_Internal_Ehdr;
#define elf32_internal_ehdr elf_internal_ehdr