Lines Matching refs:sechdrs
421 module_frob_arch_sections (Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, in module_frob_arch_sections() argument
425 Elf64_Shdr *s, *sechdrs_end = sechdrs + ehdr->e_shnum; in module_frob_arch_sections()
431 for (s = sechdrs; s < sechdrs_end; ++s) in module_frob_arch_sections()
457 for (s = sechdrs + 1; s < sechdrs_end; ++s) { in module_frob_arch_sections()
795 apply_relocate_add (Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate_add() argument
798 unsigned int i, n = sechdrs[relsec].sh_size / sizeof(Elf64_Rela); in apply_relocate_add()
799 Elf64_Rela *rela = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
804 relsec, n, sechdrs[relsec].sh_info); in apply_relocate_add()
806 target_sec = sechdrs + sechdrs[relsec].sh_info; in apply_relocate_add()
836 ((Elf64_Sym *) sechdrs[symindex].sh_addr in apply_relocate_add()
912 module_finalize (const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) in module_finalize() argument