Lines Matching refs:e_shnum
240 for (i = 1; i < info->hdr->e_shnum; i++) { in find_sec()
266 for (i = 1; i < info->hdr->e_shnum; i++) { in find_any_unique_sec()
307 for (i = 1; i < info->hdr->e_shnum; i++) { in find_any_sec()
1571 if (sym[i].st_shndx >= info->hdr->e_shnum) { in simplify_symbols()
1573 mod->name, name, sym[i].st_shndx, info->hdr->e_shnum - 1); in simplify_symbols()
1597 for (i = 1; i < info->hdr->e_shnum; i++) { in apply_relocations()
1601 if (infosec >= info->hdr->e_shnum) in apply_relocations()
1696 for (i = 0; i < info->hdr->e_shnum; ++i) { in __layout_sections()
1739 for (i = 0; i < info->hdr->e_shnum; i++) in layout_sections()
1911 || (info->hdr->e_shnum * sizeof(Elf_Shdr) > in elf_validity_cache_sechdrs()
1932 for (i = 1; i < info->hdr->e_shnum; i++) { in elf_validity_cache_sechdrs()
1979 || info->hdr->e_shstrndx >= info->hdr->e_shnum) { in elf_validity_cache_secstrings()
1982 info->hdr->e_shnum); in elf_validity_cache_secstrings()
2003 for (i = 0; i < info->hdr->e_shnum; i++) { in elf_validity_cache_secstrings()
2129 for (i = 1; i < info->hdr->e_shnum; i++) { in elf_validity_cache_index_sym()
2162 if (str_idx == SHN_UNDEF || str_idx >= info->hdr->e_shnum) { in elf_validity_cache_index_str()
2164 str_idx, str_idx, info->hdr->e_shnum); in elf_validity_cache_index_str()
2485 for (i = 1; i < info->hdr->e_shnum; i++) { in rewrite_section_headers()
2752 for (i = 0; i < info->hdr->e_shnum; i++) { in move_module()