Lines Matching refs:sechdrs
55 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument
63 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument
70 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate()
75 sechdrs[relsec].sh_info); in apply_relocate()
76 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
78 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate()
82 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate()
103 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument
114 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() argument
121 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
127 sechdrs[relsec].sh_info); in apply_relocate_add()
128 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
130 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
135 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
184 int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() argument
197 const Elf_Shdr *sechdrs, in module_finalize() argument
202 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
204 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()