Searched refs:Elf64_Rela (Results 1 – 18 of 18) sorted by relevance
/Linux-v4.19/arch/riscv/kernel/ |
D | module-sections.c | 55 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/ |
D | module-plts.c | 19 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()
|
D | module.c | 241 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | module_64.c | 190 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/ |
D | module.c | 41 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/ |
D | module.c | 321 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/ |
D | relocs_64.c | 9 #define Elf_Rel Elf64_Rela
|
/Linux-v4.19/arch/mips/boot/tools/ |
D | relocs_64.c | 9 #define Elf_Rel Elf64_Rela
|
/Linux-v4.19/include/asm-generic/ |
D | module.h | 26 #define Elf_Rela Elf64_Rela
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | module.h | 39 u64 module_emit_plt_entry(struct module *mod, void *loc, const Elf64_Rela *rela,
|
/Linux-v4.19/arch/mips/include/asm/ |
D | module.h | 62 #define Elf_Rela Elf64_Rela
|
/Linux-v4.19/scripts/mod/ |
D | modpost.h | 48 #define Elf_Rela Elf64_Rela
|
/Linux-v4.19/arch/x86/kernel/ |
D | module.c | 148 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
|
D | machine_kexec_64.c | 401 Elf64_Rela *rel; in arch_kexec_apply_relocations_add()
|
/Linux-v4.19/scripts/ |
D | sortextable.h | 44 # define Elf_Rela Elf64_Rela
|
D | recordmcount.h | 73 # define Elf_Rela Elf64_Rela
|
/Linux-v4.19/include/uapi/linux/ |
D | elf.h | 181 } Elf64_Rela; typedef
|
/Linux-v4.19/arch/parisc/kernel/ |
D | module.c | 691 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
|