Lines Matching refs:num_sec
707 unsigned int num_sec;
715 num_sec = i_ehdrp->e_shnum;
716 elf_numsections (abfd) = num_sec;
717 if (_bfd_mul_overflow (num_sec, sizeof (i_shdrp), &amt))
722 elf_tdata (abfd)->being_created = bfd_zalloc (abfd, num_sec);
727 for (shdrp = i_shdrp, shindex = 0; shindex < num_sec; shindex++)
739 if (i_shdrp[shindex].sh_link >= num_sec)
764 && i_shdrp[shindex].sh_info >= num_sec)
874 unsigned int num_sec;
879 num_sec = elf_numsections (abfd);
880 for (shindex = 1; shindex < num_sec; shindex++)