Lines Matching refs:sechdrs
314 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() argument
330 sechdrs[relsec].sh_info); in __apply_relocate()
332 r.rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate()
335 for (i = 0; i < sechdrs[relsec].sh_size / reloc_sz; i++) { in __apply_relocate()
337 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate()
340 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
387 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() argument
391 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate()
395 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
399 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
426 const Elf_Shdr *sechdrs, in module_finalize() argument
430 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
436 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()