Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-06-17 17:37:23 +0400
committerJakub Jelinek <jakub@redhat.com>2005-06-17 17:37:23 +0400
commit2778b3e2b6de5c6930f7e4edc0e73bc4d1f93bd5 (patch)
treea9985f4fd442b5a7ee1b60365bd71b18bd0191c0 /include/elf/external.h
parent29b111ce59d642f3e4d666b12e93e2c05d8fdb85 (diff)
* elf/external.h (GRP_ENTRY_SIZE): Define.
* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define. (process_section_headers): Use it. (process_relocs): Don't crash if symsec is not SHT_SYMTAB or SHT_DYNSYM. (process_version_sections): Use sizeof (Elf_External_Versym) instead of sh_entsize.
Diffstat (limited to 'include/elf/external.h')
-rw-r--r--include/elf/external.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/elf/external.h b/include/elf/external.h
index a7fc7674a..5985e94b0 100644
--- a/include/elf/external.h
+++ b/include/elf/external.h
@@ -1,5 +1,5 @@
/* ELF support for BFD.
- Copyright 1991, 1992, 1993, 1995, 1997, 1998, 1999, 2001, 2003
+ Copyright 1991, 1992, 1993, 1995, 1997, 1998, 1999, 2001, 2003, 2005
Free Software Foundation, Inc.
Written by Fred Fish @ Cygnus Support, from information published
@@ -272,5 +272,8 @@ typedef struct
unsigned char a_val[8];
} Elf64_External_Auxv;
+/* Size of SHT_GROUP section entry. */
+
+#define GRP_ENTRY_SIZE 4
#endif /* _ELF_EXTERNAL_H */