Lines Matching refs:sechdrs
306 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() argument
323 sechdrs[relsec].sh_info); in __apply_relocate()
325 r.rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate()
328 for (i = 0; i < sechdrs[relsec].sh_size / reloc_sz; i++) { in __apply_relocate()
330 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate()
333 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
391 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() argument
395 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate()
399 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
403 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
430 const Elf_Shdr *sechdrs, in module_finalize() argument
434 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
440 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()