Home
last modified time | relevance | path

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

/Linux-v4.19/arch/riscv/kernel/
Dmodule-sections.c55 static int is_rela_equal(const Elf64_Rela *x, const Elf64_Rela *y) in is_rela_equal()
60 static bool duplicate_rela(const Elf64_Rela *rela, int idx) in duplicate_rela()
70 static void count_max_entries(Elf64_Rela *relas, int num, in count_max_entries()
121 Elf64_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
122 int num_rela = sechdrs[i].sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections()
/Linux-v4.19/arch/arm64/kernel/
Dmodule-plts.c19 u64 module_emit_plt_entry(struct module *mod, void *loc, const Elf64_Rela *rela, in module_emit_plt_entry()
90 const Elf64_Rela *x = a, *y = b; in cmp_rela()
102 static bool duplicate_rel(const Elf64_Rela *rela, int num) in duplicate_rel()
112 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts()
235 Elf64_Rela *rels = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
236 int numrels = sechdrs[i].sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections()
247 sort(rels, numrels, sizeof(Elf64_Rela), cmp_rela, NULL); in module_frob_arch_sections()
Dmodule.c241 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/Linux-v4.19/arch/powerpc/kernel/
Dmodule_64.c190 static unsigned int count_relocs(const Elf64_Rela *rela, unsigned int num) in count_relocs()
213 const Elf64_Rela *x, *y; in relacmp()
215 y = (Elf64_Rela *)_x; in relacmp()
216 x = (Elf64_Rela *)_y; in relacmp()
242 for (i = 0; i < sizeof(Elf64_Rela) / sizeof(uint64_t); i++) { in relaswap()
263 sechdrs[i].sh_size / sizeof(Elf64_Rela)); in get_stubs_size()
271 sechdrs[i].sh_size / sizeof(Elf64_Rela), in get_stubs_size()
272 sizeof(Elf64_Rela), relacmp, relaswap); in get_stubs_size()
276 / sizeof(Elf64_Rela)); in get_stubs_size()
546 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/Linux-v4.19/arch/alpha/kernel/
Dmodule.c41 process_reloc_for_got(Elf64_Rela *rela, in process_reloc_for_got()
80 Elf64_Rela *rela; in module_frob_arch_sections()
124 nrela = s->sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections()
149 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/Linux-v4.19/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-v4.19/arch/x86/tools/
Drelocs_64.c9 #define Elf_Rel Elf64_Rela
/Linux-v4.19/arch/mips/boot/tools/
Drelocs_64.c9 #define Elf_Rel Elf64_Rela
/Linux-v4.19/include/asm-generic/
Dmodule.h26 #define Elf_Rela Elf64_Rela
/Linux-v4.19/arch/arm64/include/asm/
Dmodule.h39 u64 module_emit_plt_entry(struct module *mod, void *loc, const Elf64_Rela *rela,
/Linux-v4.19/arch/mips/include/asm/
Dmodule.h62 #define Elf_Rela Elf64_Rela
/Linux-v4.19/scripts/mod/
Dmodpost.h48 #define Elf_Rela Elf64_Rela
/Linux-v4.19/arch/x86/kernel/
Dmodule.c148 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
Dmachine_kexec_64.c401 Elf64_Rela *rel; in arch_kexec_apply_relocations_add()
/Linux-v4.19/scripts/
Dsortextable.h44 # define Elf_Rela Elf64_Rela
Drecordmcount.h73 # define Elf_Rela Elf64_Rela
/Linux-v4.19/include/uapi/linux/
Delf.h181 } Elf64_Rela; typedef
/Linux-v4.19/arch/parisc/kernel/
Dmodule.c691 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()