Searched refs:e_shnum (Results 1 – 20 of 20) sorted by relevance
146 if (shndx < ehdr.e_shnum) { in sec_name()222 ehdr.e_shnum = elf16_to_cpu(ehdr.e_shnum); in read_ehdr()243 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in read_ehdr()253 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs()256 ehdr.e_shnum); in read_shdrs()262 for (i = 0; i < ehdr.e_shnum; i++) { in read_shdrs()266 i, ehdr.e_shnum, strerror(errno)); in read_shdrs()277 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()286 for (i = 0; i < ehdr.e_shnum; i++) { in read_strtabs()311 for (i = 0; i < ehdr.e_shnum; i++) { in read_symtabs()[all …]
67 Elf32_Half e_shnum; member84 Elf64_Half e_shnum; member
65 Elf_Shdr *s, *sechdrs_end = sechdrs + hdr->e_shnum; in module_frob_arch_sections()324 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()332 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()337 if (info >= hdr->e_shnum) in module_finalize()
318 for (i = 0; i < hdr->e_shnum; i++) in layout_sections()322 for (i = 0; i < hdr->e_shnum; ++i) { in layout_sections()862 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload()878 for (i = 1; i < hdr->e_shnum; i++) { in vpe_elfload()907 for (i = 0; i < hdr->e_shnum; i++) { in vpe_elfload()927 hdr->e_shnum, &mod); in vpe_elfload()930 for (i = 1; i < hdr->e_shnum; i++) { in vpe_elfload()935 if (info >= hdr->e_shnum) in vpe_elfload()966 for (i = 0; i < hdr->e_shnum; i++) { in vpe_elfload()
394 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
58 for (i = 1; i < hdr->e_shnum; i++) in find_section()
113 for (i = 1; i < hdr->e_shnum; i++) { in get_plt_size()158 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
145 for (i = 1; i < hdr->e_shnum; i++) { in get_stubs_size()208 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
292 for (i = 1; i < ehdr->e_shnum; i++) { in find_section32()383 for (i = 1; i < ehdr->e_shnum; i++) { in find_section64()
83 for (i = 0; i < hdr->e_shnum; i++) in module_frob_arch_sections()115 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
116 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
158 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
179 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()
125 for (i = 0; i < hdr->e_shnum; i++) in module_frob_arch_sections()158 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
94 if (symidx == hdr->e_shnum-1) { in module_frob_arch_sections()
173 for (i = 0; i < ehdr.e_shnum; i++) { in create_vma_map()
299 len = hdr->e_shnum * sizeof(me->arch.section[0]); in module_frob_arch_sections()304 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()862 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()
98 esechdrs = sechdrs + hdr->e_shnum; in module_frob_arch_sections()
183 for(i = 0; i < ehdr->e_shnum; i++) { in relocate_vdso()
432 Elf64_Shdr *s, *sechdrs_end = sechdrs + ehdr->e_shnum; in module_frob_arch_sections()