Searched refs:relas (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/loongarch/kernel/ |
| H A D | module-sections.c | 77 static void count_max_entries(Elf_Rela *relas, int num, in count_max_entries() argument 82 sort(relas, num, sizeof(Elf_Rela), compare_rela, NULL); in count_max_entries() 85 if (i && !compare_rela(&relas[i-1], &relas[i])) in count_max_entries() 88 switch (ELF_R_TYPE(relas[i].r_info)) { in count_max_entries() 139 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections() local 149 count_max_entries(relas, num_rela, &num_plts, &num_gots); in module_frob_arch_sections()
|
| /linux/kernel/livepatch/ |
| H A D | core.c | 203 Elf_Rela *relas; in klp_resolve_symbols() local 221 relas = (Elf_Rela *) relasec->sh_addr; in klp_resolve_symbols() 224 sym = (Elf_Sym *)sechdrs[symndx].sh_addr + ELF_R_SYM(relas[i].r_info); in klp_resolve_symbols() 247 * symbols are exported and normal relas can be used instead. in klp_resolve_symbols()
|
| /linux/Documentation/livepatch/ |
| H A D | module-elf-format.rst | 52 relas reference are special livepatch symbols (see section 2 and 3). The
|