PR24689 again, string table corruption
[deliverable/binutils-gdb.git] / bfd / elfcode.h
index 5180f79a74dfea8aab803e6c9d70429c146bedab..9a73c3b71f52daa83b17350489c9275aca2bc3d2 100644 (file)
@@ -749,11 +749,7 @@ elf_object_p (bfd *abfd)
                  != 0))
            abfd->flags &= ~D_PAGED;
        }
-    }
 
-  /* A further sanity check.  */
-  if (i_ehdrp->e_shnum != 0)
-    {
       if (i_ehdrp->e_shstrndx >= elf_numsections (abfd)
          || i_shdrp[i_ehdrp->e_shstrndx].sh_type != SHT_STRTAB)
        {
This page took 0.023644 seconds and 4 git commands to generate.