Lines Matching refs:shnum
338 symtab_count_leading_section_symbols (Elf *elf, Elf_Scn *scn, size_t shnum, in symtab_count_leading_section_symbols() argument
344 for (size_t i = 1; i < shnum; ++i) in symtab_count_leading_section_symbols()
368 return shnum; in symtab_count_leading_section_symbols()
552 Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum) in add_new_section_symbols() argument
554 const size_t added = shnum - old_shnum; in add_new_section_symbols()
590 for (size_t i = old_shnum; i < shnum; ++i) in add_new_section_symbols()
631 size_t shnum, size_t shstrndx, in check_symtab_section_symbols() argument
639 return add_new_section_symbols (oscn, n, elf, rel, scn, shnum); in check_symtab_section_symbols()
977 uint_fast16_t shnum; in find_alloc_sections_prelink() local
981 shnum = ehdr.e32.e_shnum; in find_alloc_sections_prelink()
986 shnum = ehdr.e64.e_shnum; in find_alloc_sections_prelink()
991 src.d_size = gelf_fsize (main, ELF_T_SHDR, shnum - 1, EV_CURRENT); in find_alloc_sections_prelink()
1000 Elf32_Shdr s32[shnum - 1]; in find_alloc_sections_prelink()
1001 Elf64_Shdr s64[shnum - 1]; in find_alloc_sections_prelink()
1009 undo_sections = xmalloc ((shnum - 1) * sizeof undo_sections[0]); in find_alloc_sections_prelink()
1010 for (size_t i = 0; i < shnum - 1; ++i) in find_alloc_sections_prelink()