Lines Matching refs:num_sec
740 unsigned int num_sec; in elf_object_p() local
746 num_sec = i_ehdrp->e_shnum; in elf_object_p()
747 if (num_sec > SHN_LORESERVE) in elf_object_p()
748 num_sec += SHN_HIRESERVE + 1 - SHN_LORESERVE; in elf_object_p()
749 elf_numsections (abfd) = num_sec; in elf_object_p()
750 amt = sizeof (i_shdrp) * num_sec; in elf_object_p()
758 if (num_sec > SHN_LORESERVE) in elf_object_p()
765 for ( ; shindex < num_sec; shindex++) in elf_object_p()
777 if (! valid_section_index_p (i_shdrp[shindex].sh_link, num_sec)) in elf_object_p()
783 && ! valid_section_index_p (i_shdrp[shindex].sh_info, num_sec)) in elf_object_p()
843 unsigned int num_sec; in elf_object_p() local
848 num_sec = elf_numsections (abfd); in elf_object_p()
849 for (shindex = 1; shindex < num_sec; shindex++) in elf_object_p()