Lines Matching refs:shnum
331 uint_fast16_t shnum;
338 shnum = ehdr.e32.e_shnum;
346 shnum = ehdr.e64.e_shnum;
351 if (unlikely (shnum >= SHN_LORESERVE)
354 + (shnum - 1) * shentsize)))
433 src.d_size = gelf_fsize (mod->main.elf, ELF_T_SHDR, shnum - 1, EV_CURRENT);
436 if (unlikely (shnum - 1 > SIZE_MAX / shdr_size))
438 const size_t shdrs_bytes = (shnum - 1) * shdr_size;
490 Elf32_Shdr (*s32)[shnum - 1] = shdrs;
491 for (size_t i = 0; i < shnum - 1; ++i)
498 Elf64_Shdr (*s64)[shnum - 1] = shdrs;
499 for (size_t i = 0; i < shnum - 1; ++i)