Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kernel/
Dmodule-plts.c158 Elf64_Word dstidx, Elf_Shdr *dstsec) in count_plts() argument
232 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts()
317 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections() local
323 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
335 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
337 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
340 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
/linux-6.12.1/arch/arm/kernel/
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()
Dmodule.c81 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() local
108 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate()
111 rel->r_offset, dstsec->sh_size); in apply_relocate()
115 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()