Searched refs:dstsec (Results 1 – 6 of 6) sorted by relevance
38 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local59 dstsec->sh_size - sizeof(u32)) { in apply_relocate()63 dstsec->sh_size); in apply_relocate()67 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
36 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local56 (rel->r_offset > dstsec->sh_size - sizeof(u32))) { in apply_relocate()60 dstsec->sh_size); in apply_relocate()64 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
224 Elf32_Shdr *dstsec = sechdrs + s->sh_info; in module_frob_arch_sections() local230 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()236 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()237 core_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()240 init_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
60 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local84 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate()87 rel->r_offset, dstsec->sh_size); in apply_relocate()91 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
179 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections() local185 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
151 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate_add() local163 location = (void *)dstsec->sh_addr + rel->r_offset; in apply_relocate_add()