Home | History | Annotate | Download | only in src

Lines Matching defs:shnum

567   size_t shnum;
568 if (unlikely (elf_getshdrnum (elf, &shnum) < 0))
579 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC)
580 shdr_info = (struct shdr_info *) xcalloc (shnum + 2,
584 shdr_info = (struct shdr_info *) alloca ((shnum + 2)
586 memset (shdr_info, '\0', (shnum + 2) * sizeof (struct shdr_info));
690 for (cnt = 1; cnt < shnum; ++cnt)
736 for (cnt = 1; cnt < shnum; ++cnt)
818 if (scnidx == SHN_UNDEF || scnidx >= shnum
908 for (cnt = 1; cnt < shnum; ++cnt)
994 for (cnt = idx = 1; cnt < shnum; ++cnt)
1149 if (cnt < shnum)
1226 || (sym->st_shndx >= shnum
2025 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC)