* elf/external.h (GRP_ENTRY_SIZE): Define.
authorJakub Jelinek <jakub@redhat.com>
Fri, 17 Jun 2005 13:37:26 +0000 (13:37 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 17 Jun 2005 13:37:26 +0000 (13:37 +0000)
commit08d8fa11878dc2fb68745443a892106379121882
tree728f34d5dc682cc5c0e5e598fe52a7bd8854486b
parentd6ab8113e32876e3d8ca06ad090d3160d51c8e16
* 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.
binutils/ChangeLog
binutils/readelf.c
include/ChangeLog
include/elf/external.h