Lines Matching refs:sechdrs
76 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument
79 Elf32_Shdr *symsec = sechdrs + symindex; in apply_relocate()
80 Elf32_Shdr *relsec = sechdrs + relindex; in apply_relocate()
81 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate()
399 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() argument
402 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section()
404 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) in find_mod_section()
414 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() argument
419 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
420 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
426 for (s = sechdrs; s < sechdrs_end; s++) { in module_finalize()
439 txt_sec = find_mod_section(hdr, sechdrs, txtname); in module_finalize()
457 s = find_mod_section(hdr, sechdrs, ".pv_table"); in module_finalize()
461 s = find_mod_section(hdr, sechdrs, ".alt.smp.init"); in module_finalize()