Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arm64/kernel/
A Dmodule-plts.c162 Elf64_Word dstidx, Elf_Shdr *dstsec) in count_plts() argument
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 (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) 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()
/linux-6.3-rc2/arch/arm/kernel/
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 (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) 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()
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 5 milliseconds