Searched refs:e_shnum (Results 1 – 25 of 29) sorted by relevance
12
243 if (shndx < ehdr.e_shnum) { in sec_name()271 for (i = 0; i < ehdr.e_shnum; i++) { in sym_lookup()363 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()384 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in read_ehdr()394 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs()397 ehdr.e_shnum); in read_shdrs()403 for (i = 0; i < ehdr.e_shnum; i++) { in read_shdrs()407 i, ehdr.e_shnum, strerror(errno)); in read_shdrs()418 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()427 for (i = 0; i < ehdr.e_shnum; i++) { in read_strtabs()[all …]
31 Elf_Shdr *s, *sechdrs_end = sechdrs + hdr->e_shnum; in module_frob_arch_sections()243 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()251 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()257 if (info >= hdr->e_shnum) in module_finalize()
67 Elf32_Half e_shnum; member84 Elf64_Half e_shnum; member
196 for (i = 0; i < hdr->e_shnum; i++) in layout_sections()200 for (i = 0; i < hdr->e_shnum; ++i) { in layout_sections()605 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload()620 for (i = 1; i < hdr->e_shnum; i++) { in vpe_elfload()651 for (i = 0; i < hdr->e_shnum; i++) { in vpe_elfload()672 hdr->e_shnum, &mod); in vpe_elfload()675 for (i = 1; i < hdr->e_shnum; i++) { in vpe_elfload()680 if (info >= hdr->e_shnum) in vpe_elfload()712 for (i = 0; i < hdr->e_shnum; i++) { in vpe_elfload()
281 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
22 sh_count = swap_uint16(ehdr->e_shnum); in FUNC()125 sh_count = swap_uint16(ehdr->e_shnum); in FUNC()
40 for (i = 1; i < hdr->e_shnum; i++) in find_section()
109 for (i = 1; i < hdr->e_shnum; i++) { in get_plt_size()154 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
278 for (i = 1; i < hdr->e_shnum; i++) { in get_stubs_size()369 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
308 for (i = 1; i < ehdr->e_shnum; i++) { in find_section32()399 for (i = 1; i < ehdr->e_shnum; i++) { in find_section64()
65 if (symidx == hdr->e_shnum-1) { in module_frob_arch_sections()189 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in do_patch_sections()
95 for (i = 1; i < hdr->e_shnum; i++) { in get_plt_size()140 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
74 for (i = 0; i < hdr->e_shnum; i++) in module_frob_arch_sections()106 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
42 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
48 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
180 e->e_shnum = swab16(e->e_shnum); in convert_elf_hdr()334 ex.e_shnum * sizeof(Elf32_Shdr), in main()337 convert_elf_shdrs(sh, ex.e_shnum); in main()
273 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) in find_mod_section()289 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
112 for (i = 1; i < ehdr->e_shnum; i++) { in find_section()
432 if (symtabsec->sh_link >= ehdr->e_shnum) { in arch_kexec_apply_relocations_add()491 else if (sym->st_shndx >= ehdr->e_shnum) { in arch_kexec_apply_relocations_add()
215 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
128 for (i = 0; i < hdr->e_shnum; i++) in module_frob_arch_sections()161 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
174 for (i = 0; i < ehdr.e_shnum; i++) { in create_vma_map()
65 for (i = 0; i < GET_LE(&hdr->e_shnum); i++) { in BITSFUNC()
330 len = hdr->e_shnum * sizeof(me->arch.section[0]); in module_frob_arch_sections()335 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()889 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()
84 esechdrs = sechdrs + hdr->e_shnum; in module_frob_arch_sections()