Lines Matching refs:sechdrs
90 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, in module_frob_arch_sections() argument
98 esechdrs = sechdrs + hdr->e_shnum; in module_frob_arch_sections()
104 for (s = sechdrs; s < esechdrs; ++s) in module_frob_arch_sections()
109 me->arch.gotsecindex = s - sechdrs; in module_frob_arch_sections()
136 for (s = sechdrs; s < esechdrs; ++s) in module_frob_arch_sections()
159 apply_relocate(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument
167 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
171 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
172 unsigned long i, n = sechdrs[relsec].sh_size / sizeof(*rela); in apply_relocate_add()
178 sechdrs[relsec].sh_info); in apply_relocate_add()
180 base = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr; in apply_relocate_add()
181 symtab = (Elf64_Sym *)sechdrs[symindex].sh_addr; in apply_relocate_add()
186 got = sechdrs[me->arch.gotsecindex].sh_addr; in apply_relocate_add()
307 module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() argument