This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix handling of ELF objects without section header table


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]