Home
last modified time | relevance | path

Searched refs:relas (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/arch/riscv/kernel/
Dmodule-sections.c73 static void count_max_entries(Elf_Rela *relas, int num, in count_max_entries() argument
79 type = ELF_RISCV_R_TYPE(relas[i].r_info); in count_max_entries()
81 if (!duplicate_rela(relas, i)) in count_max_entries()
84 if (!duplicate_rela(relas, i)) in count_max_entries()
124 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections() local
135 count_max_entries(relas, num_rela, &num_plts, &num_gots); in module_frob_arch_sections()
/Linux-v5.15/arch/s390/kernel/
Dmachine_kexec_file.c270 Elf_Rela *relas; in arch_kexec_apply_relocations_add() local
273 relas = (void *)pi->ehdr + relsec->sh_offset; in arch_kexec_apply_relocations_add()
275 for (i = 0; i < relsec->sh_size / sizeof(*relas); i++) { in arch_kexec_apply_relocations_add()
282 sym += ELF64_R_SYM(relas[i].r_info); in arch_kexec_apply_relocations_add()
296 loc += relas[i].r_offset; in arch_kexec_apply_relocations_add()
301 val += relas[i].r_addend; in arch_kexec_apply_relocations_add()
303 addr = section->sh_addr + relas[i].r_offset; in arch_kexec_apply_relocations_add()
305 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add()
/Linux-v5.15/kernel/livepatch/
Dcore.c200 Elf_Rela *relas; in klp_resolve_symbols() local
218 relas = (Elf_Rela *) relasec->sh_addr; in klp_resolve_symbols()
221 sym = (Elf64_Sym *)sechdrs[symndx].sh_addr + ELF_R_SYM(relas[i].r_info); in klp_resolve_symbols()
/Linux-v5.15/Documentation/livepatch/
Dmodule-elf-format.rst52 relas reference are special livepatch symbols (see section 2 and 3). The