Home
last modified time | relevance | path

Searched refs:e_shnum (Results 1 – 20 of 20) sorted by relevance

/arch/x86/boot/compressed/
Drelocs.c146 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 …]
/arch/powerpc/boot/
Delf.h67 Elf32_Half e_shnum; member
84 Elf64_Half e_shnum; member
/arch/blackfin/kernel/
Dmodule.c65 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()
/arch/mips/kernel/
Dvpe.c318 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()
Dmodule.c394 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
/arch/powerpc/kernel/
Dmodule.c58 for (i = 1; i < hdr->e_shnum; i++) in find_section()
Dmodule_32.c113 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()
Dmodule_64.c145 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()
Dvdso.c292 for (i = 1; i < ehdr->e_shnum; i++) { in find_section32()
383 for (i = 1; i < ehdr->e_shnum; i++) { in find_section64()
/arch/avr32/kernel/
Dmodule.c83 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()
/arch/x86/kernel/
Dmodule_32.c116 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
Dmodule_64.c158 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
/arch/mips/boot/
Delf2ecoff.c179 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()
/arch/s390/kernel/
Dmodule.c125 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()
/arch/sparc/kernel/
Dmodule.c94 if (symidx == hdr->e_shnum-1) { in module_frob_arch_sections()
/arch/powerpc/oprofile/cell/
Dvma_map.c173 for (i = 0; i < ehdr.e_shnum; i++) { in create_vma_map()
/arch/parisc/kernel/
Dmodule.c299 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()
/arch/alpha/kernel/
Dmodule.c98 esechdrs = sechdrs + hdr->e_shnum; in module_frob_arch_sections()
/arch/x86/vdso/
Dvdso32-setup.c183 for(i = 0; i < ehdr->e_shnum; i++) { in relocate_vdso()
/arch/ia64/kernel/
Dmodule.c432 Elf64_Shdr *s, *sechdrs_end = sechdrs + ehdr->e_shnum; in module_frob_arch_sections()