Home
last modified time | relevance | path

Searched refs:Elf64_Rela (Results 1 – 24 of 24) sorted by relevance

/linux-6.15/arch/arm64/kernel/
H A Dmodule-plts.c70 void *loc, const Elf64_Rela *rela, in module_emit_plt_entry()
135 const Elf64_Rela *x = a, *y = b; in cmp_rela()
147 static bool duplicate_rel(const Elf64_Rela *rela, int num) in duplicate_rel()
157 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts()
249 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt()
263 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas()
315 Elf64_Rela *rels = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
316 int nents, numrels = sechdrs[i].sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections()
333 sort(rels, nents, sizeof(Elf64_Rela), cmp_rela, NULL); in module_frob_arch_sections()
H A Dmodule.c230 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-6.15/arch/powerpc/kernel/
H A Dmodule_64.c185 const Elf64_Rela *x, *y; in relacmp()
187 y = (Elf64_Rela *)_x; in relacmp()
188 x = (Elf64_Rela *)_y; in relacmp()
230 sechdrs[i].sh_size / sizeof(Elf64_Rela), in get_stubs_size()
231 sizeof(Elf64_Rela), relacmp, NULL); in get_stubs_size()
235 / sizeof(Elf64_Rela), in get_stubs_size()
240 / sizeof(Elf64_Rela), in get_stubs_size()
319 sechdrs[i].sh_size / sizeof(Elf64_Rela)); in get_got_size()
329 sizeof(Elf64_Rela), relacmp, NULL); in get_got_size()
333 / sizeof(Elf64_Rela), in get_got_size()
[all …]
/linux-6.15/arch/arm64/kernel/pi/
H A Drelocate.c12 extern const Elf64_Rela rela_start[], rela_end[];
19 for (const Elf64_Rela *rela = rela_start; rela < rela_end; rela++) { in relocate_kernel()
H A Drelacheck.c80 Elf64_Rela *rela; in main()
/linux-6.15/arch/alpha/kernel/
H A Dmodule.c29 process_reloc_for_got(Elf64_Rela *rela, in process_reloc_for_got()
68 Elf64_Rela *rela; in module_frob_arch_sections()
112 nrela = s->sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections()
137 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c209 for (var = elf_ptr(Elf64_Rela, elf64toh(shdr->sh_offset)); \
210 var < elf_ptr(Elf64_Rela, elf64toh(shdr->sh_offset) + elf64toh(shdr->sh_size)); var++)
329 static void emit_rela_abs64(Elf64_Rela *rela, const char *sh_orig_name) in emit_rela_abs64()
367 Elf64_Rela *rela; in emit_rela_section()
/linux-6.15/arch/loongarch/kernel/
H A Drelocate.c27 Elf64_Rela *rela, *rela_end; in relocate_relative()
28 rela = (Elf64_Rela *)&__rela_dyn_begin; in relocate_relative()
29 rela_end = (Elf64_Rela *)&__rela_dyn_end; in relocate_relative()
/linux-6.15/arch/x86/tools/
H A Drelocs_64.c9 #define Elf_Rel Elf64_Rela
/linux-6.15/tools/objtool/include/objtool/
H A Delf.h166 return elf_addr_size(elf) == 4 ? sizeof(Elf32_Rela) : sizeof(Elf64_Rela); in elf_rela_size()
228 ((Elf64_Rela *)reloc_rel(reloc))->field; \
236 ((Elf64_Rela *)reloc_rel(reloc))->field = val; \
/linux-6.15/arch/mips/boot/tools/
H A Drelocs_64.c9 #define Elf_Rel Elf64_Rela
/linux-6.15/include/asm-generic/
H A Dmodule.h23 #define Elf_Rela Elf64_Rela
/linux-6.15/arch/arm64/include/asm/
H A Dmodule.h25 void *loc, const Elf64_Rela *rela,
/linux-6.15/arch/mips/include/asm/
H A Dmodule.h62 #define Elf_Rela Elf64_Rela
/linux-6.15/scripts/mod/
H A Dmodpost.h50 #define Elf_Rela Elf64_Rela
/linux-6.15/tools/include/uapi/linux/
H A Delf.h194 } Elf64_Rela; typedef
/linux-6.15/arch/x86/kernel/
H A Dmodule.c91 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in __write_relocate_add()
H A Dmachine_kexec_64.c443 Elf64_Rela *rel; in arch_kexec_apply_relocations_add()
/linux-6.15/include/uapi/linux/
H A Delf.h194 } Elf64_Rela; typedef
/linux-6.15/arch/s390/tools/
H A Drelocs.c21 #define Elf_Rel Elf64_Rela
/linux-6.15/arch/riscv/kernel/
H A Delf_kexec.c379 Elf64_Rela *relas; in arch_kexec_apply_relocations_add()
/linux-6.15/scripts/
H A Drecordmcount.h82 # define Elf_Rela Elf64_Rela
H A Dsorttable.c85 Elf64_Rela e64;
/linux-6.15/arch/parisc/kernel/
H A Dmodule.c641 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()