Home
last modified time | relevance | path

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

/arch/unicore32/kernel/
Dmodule.c38 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
59 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()
/arch/score/kernel/
Dmodule.c36 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
56 (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()
/arch/arm/kernel/
Dmodule-plts.c156 Elf32_Shdr *dstsec = sechdrs + s->sh_info; in module_frob_arch_sections() local
162 init_plts += count_plts(dstsec->sh_addr, rels, numrels); in module_frob_arch_sections()
164 core_plts += count_plts(dstsec->sh_addr, rels, numrels); in module_frob_arch_sections()
Dmodule.c60 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
84 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()
/arch/arm64/kernel/
Dmodule-plts.c179 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections() local
185 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
/arch/avr32/kernel/
Dmodule.c151 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate_add() local
163 location = (void *)dstsec->sh_addr + rel->r_offset; in apply_relocate_add()