Searched refs:e_shnum (Results 1 – 25 of 39) sorted by relevance
12
97 if (shndx < ehdr.e_shnum) in sec_name()112 for (i = 0; i < ehdr.e_shnum; i++) in sec_lookup()235 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()256 if (ehdr.e_shstrndx >= ehdr.e_shnum) in read_ehdr()272 for (i = 0; i < ehdr.e_shnum; i++) { in read_shdrs()289 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()298 for (i = 0; i < ehdr.e_shnum; i++) { in read_strtabs()323 for (i = 0; i < ehdr.e_shnum; i++) { in read_symtabs()366 for (i = 0; i < ehdr.e_shnum; i++) { in read_relocs()412 for (i = 0; i < ehdr.e_shnum; i++) { in remove_relocs()[all …]
197 for (i = 0; i < hdr->e_shnum; i++) in layout_sections()201 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()
68 Elf32_Half e_shnum; member85 Elf64_Half e_shnum; member
16 sh_count = swap_uint16(ehdr->e_shnum); in FUNC()70 sh_count = swap_uint16(ehdr->e_shnum); in FUNC()
48 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) { in find_section()
36 if (symidx == hdr->e_shnum-1) { in module_frob_arch_sections()160 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in do_patch_sections()
60 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) { in find_section()
113 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()138 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
128 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()151 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
27 for (i = 1; i < hdr->e_shnum; i++) in find_section()
83 for (i = 1; i < hdr->e_shnum; i++) { in get_plt_size()128 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
217 for (i = 1; i < hdr->e_shnum; i++) { in get_stubs_size()251 for (i = 1; i < hdr->e_shnum; i++) { in get_stubs_size()306 for (i = 1; i < hdr->e_shnum; i++) { in get_got_size()315 for (i = 1; i < hdr->e_shnum; i++) { in get_got_size()439 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
143 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()146 shnum = ehdr.e_shnum; in read_ehdr()
122 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) { in find_section()
77 for (int i = 0; i < swab_elfhword(ehdr->e_shnum); i++) { in main()
35 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
182 e->e_shnum = swab16(e->e_shnum); in convert_elf_hdr()336 ex.e_shnum * sizeof(Elf32_Shdr), in main()339 convert_elf_shdrs(sh, ex.e_shnum); in main()
293 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()314 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
118 for (i = 0; i < hdr->e_shnum; i++) in module_frob_arch_sections()151 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()514 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
276 len = hdr->e_shnum * sizeof(me->arch.section[0]); in module_frob_arch_sections()281 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()859 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()912 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
77 for (i = 1; i < e->hdr->e_shnum; i++) { in one_section64()145 for (i = 1; i < e->hdr->e_shnum; i++) { in one_section32()
65 for (i = 0; i < GET_BE(&hdr->e_shnum); i++) { in BITSFUNC()
103 for (i = 1; i < ehdr->e_shnum; i++) { in find_section()
404 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) in find_mod_section()420 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
285 for (i = 0; i < le16toh(eh->e_shnum); i++) { in main()
Completed in 31 milliseconds