Hi Jakub, On Tue, Jun 18, 2002 at 09:10:38PM +0300, Elias Athanasopoulos wrote: > > Shouldn't we check for elf_header.e_shnum (= ((ElfW(Shdr) *)(char *)ehdrp + > e_shoff)->sh_size) too? Ah, forget it. Just noticed: bfd/ * elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies e_shnum == 0. Elias