Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm64/kernel/
Dmodule-plts.c73 void *loc, const Elf64_Rela *rela, in module_emit_plt_entry()
138 const Elf64_Rela *x = a, *y = b; in cmp_rela()
150 static bool duplicate_rel(const Elf64_Rela *rela, int num) in duplicate_rel()
160 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts()
256 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt()
270 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas()
325 Elf64_Rela *rels = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
326 int nents, numrels = sechdrs[i].sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections()
343 sort(rels, nents, sizeof(Elf64_Rela), cmp_rela, NULL); in module_frob_arch_sections()
Dmodule.c273 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-5.19.10/arch/powerpc/kernel/
Dmodule_64.c135 static unsigned int count_relocs(const Elf64_Rela *rela, unsigned int num) in count_relocs()
158 const Elf64_Rela *x, *y; in relacmp()
160 y = (Elf64_Rela *)_x; in relacmp()
161 x = (Elf64_Rela *)_y; in relacmp()
193 sechdrs[i].sh_size / sizeof(Elf64_Rela)); in get_stubs_size()
201 sechdrs[i].sh_size / sizeof(Elf64_Rela), in get_stubs_size()
202 sizeof(Elf64_Rela), relacmp, NULL); in get_stubs_size()
206 / sizeof(Elf64_Rela)); in get_stubs_size()
527 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-5.19.10/arch/alpha/kernel/
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-5.19.10/arch/arm64/kvm/hyp/nvhe/
Dgen-hyprel.c206 for (var = elf_ptr(Elf64_Rela, elf64toh(shdr->sh_offset)); \
207 var < elf_ptr(Elf64_Rela, elf64toh(shdr->sh_offset) + elf64toh(shdr->sh_size)); var++)
326 static void emit_rela_abs64(Elf64_Rela *rela, const char *sh_orig_name) in emit_rela_abs64()
364 Elf64_Rela *rela; in emit_rela_section()
/linux-5.19.10/arch/s390/boot/
Dstartup.c81 Elf64_Rela *rela_start, *rela_end, *rela; in handle_relocs()
86 rela_start = (Elf64_Rela *) vmlinux.rela_dyn_start; in handle_relocs()
87 rela_end = (Elf64_Rela *) vmlinux.rela_dyn_end; in handle_relocs()
/linux-5.19.10/arch/ia64/kernel/
Dmodule.c321 duplicate_reloc (const Elf64_Rela *rela, unsigned int num) in duplicate_reloc()
334 count_gots (const Elf64_Rela *rela, unsigned int num) in count_gots()
361 count_plts (const Elf64_Rela *rela, unsigned int num) in count_plts()
387 count_fdescs (const Elf64_Rela *rela, unsigned int num) in count_fdescs()
452 const Elf64_Rela *rels = (void *)ehdr + s->sh_offset; in module_frob_arch_sections()
453 unsigned long numrels = s->sh_size/sizeof(Elf64_Rela); in module_frob_arch_sections()
792 unsigned int i, n = sechdrs[relsec].sh_size / sizeof(Elf64_Rela); in apply_relocate_add()
793 Elf64_Rela *rela = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-5.19.10/arch/x86/tools/
Drelocs_64.c9 #define Elf_Rel Elf64_Rela
/linux-5.19.10/arch/mips/boot/tools/
Drelocs_64.c9 #define Elf_Rel Elf64_Rela
/linux-5.19.10/include/asm-generic/
Dmodule.h26 #define Elf_Rela Elf64_Rela
/linux-5.19.10/arch/arm64/include/asm/
Dmodule.h27 void *loc, const Elf64_Rela *rela,
/linux-5.19.10/arch/mips/include/asm/
Dmodule.h62 #define Elf_Rela Elf64_Rela
/linux-5.19.10/scripts/mod/
Dmodpost.h50 #define Elf_Rela Elf64_Rela
/linux-5.19.10/include/uapi/linux/
Delf.h186 } Elf64_Rela; typedef
/linux-5.19.10/arch/x86/kernel/
Dmodule.c139 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate_add()
Dmachine_kexec_64.c403 Elf64_Rela *rel; in arch_kexec_apply_relocations_add()
/linux-5.19.10/scripts/
Dsorttable.h55 # define Elf_Rela Elf64_Rela
Drecordmcount.h82 # define Elf_Rela Elf64_Rela
/linux-5.19.10/arch/riscv/kernel/
Delf_kexec.c352 Elf64_Rela *relas; in arch_kexec_apply_relocations_add()
/linux-5.19.10/arch/parisc/kernel/
Dmodule.c670 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()