Home
last modified time | relevance | path

Searched refs:dstsec (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/nds32/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dmodule-plts.c162 Elf64_Word dstidx, Elf_Shdr *dstsec) in count_plts()
240 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts()
328 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections() local
334 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
346 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
348 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
351 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
161 count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, Elf64_Word dstidx, Elf_Shdr *dstsec) count_plts() argument
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dmodule-plts.c158 Elf64_Word dstidx, Elf_Shdr *dstsec) in count_plts()
233 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts()
318 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections() local
324 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
336 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
338 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
341 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
157 count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, Elf64_Word dstidx, Elf_Shdr *dstsec) count_plts() argument
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dmodule-plts.c247 Elf32_Shdr *dstsec = sechdrs + s->sh_info; in module_frob_arch_sections() local
253 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
259 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
260 core_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
263 init_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
H A Dmodule.c77 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
101 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate()
104 rel->r_offset, dstsec->sh_size); in apply_relocate()
108 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dmodule-plts.c242 Elf32_Shdr *dstsec = sechdrs + s->sh_info; in module_frob_arch_sections() local
248 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
254 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
255 core_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
258 init_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
H A Dmodule.c115 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
142 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate()
145 rel->r_offset, dstsec->sh_size); in apply_relocate()
149 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()

Completed in 8 milliseconds