Home
last modified time | relevance | path

Searched refs:dstsec (Results 1 – 5 of 5) sorted by relevance

/arch/unicore32/kernel/
Dmodule.c35 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
56 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()
/arch/arm64/kernel/
Dmodule-plts.c160 Elf64_Word dstidx, Elf_Shdr *dstsec) in count_plts() argument
238 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts()
293 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections() local
299 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
305 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
307 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
310 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
/arch/nds32/kernel/
Dmodule.c119 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate_add() local
140 || rel->r_offset > dstsec->sh_size - sizeof(u16)) { in apply_relocate_add()
143 relindex, i, rel->r_offset, dstsec->sh_size); in apply_relocate_add()
147 loc = (Elf32_Addr *) (dstsec->sh_addr + rel->r_offset); in apply_relocate_add()
256 relindex, i, rel->r_offset, dstsec->sh_size); in apply_relocate_add()
263 relindex, i, rel->r_offset, dstsec->sh_size); in apply_relocate_add()
/arch/arm/kernel/
Dmodule-plts.c221 Elf32_Shdr *dstsec = sechdrs + s->sh_info; in module_frob_arch_sections() local
227 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
233 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
234 core_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
237 init_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
Dmodule.c71 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
95 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate()
98 rel->r_offset, dstsec->sh_size); in apply_relocate()
102 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()