Lines Matching refs:sechdrs
67 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument
279 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() argument
283 Elf_Mips_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate()
291 sechdrs[relsec].sh_info); in apply_relocate()
293 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
295 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate()
298 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate()
319 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
323 Elf_Mips_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
331 sechdrs[relsec].sh_info); in apply_relocate_add()
333 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
335 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
338 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
381 const Elf_Shdr *sechdrs, in module_finalize() argument
385 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
391 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()