Home
last modified time | relevance | path

Searched refs:Elf_Rela (Results 1 – 10 of 10) sorted by relevance

/arch/riscv/kernel/
A Dmodule-sections.c63 const Elf_Rela *x = a, *y = b; in cmp_rela()
73 static bool duplicate_rela(const Elf_Rela *rela, int idx) in duplicate_rela()
82 static void count_max_entries(const Elf_Rela *relas, size_t num, in count_max_entries()
103 static bool rela_needs_plt_got_entry(const Elf_Rela *rela) in rela_needs_plt_got_entry()
121 Elf_Rela *scratch = NULL; in module_frob_arch_sections()
152 size_t num_relas = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
153 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
A Dmodule.c771 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
/arch/loongarch/kernel/
A Dmodule-sections.c70 const Elf_Rela *rela_x = x, *rela_y = y; in compare_rela()
79 static void count_max_entries(Elf_Rela *relas, int num, in count_max_entries()
84 sort(relas, num, sizeof(Elf_Rela), compare_rela, NULL); in count_max_entries()
139 int num_rela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
140 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
A Dmodule.c434 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
/arch/mips/include/asm/
A Dmodule.h44 #define Elf_Rela Elf32_Rela macro
62 #define Elf_Rela Elf64_Rela macro
/arch/s390/kernel/
A Dmodule.c57 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela()
111 Elf_Rela *rela; in module_frob_arch_sections()
154 nrela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
222 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
434 Elf_Rela *rela; in __apply_relocate_add()
442 rela = (Elf_Rela *) sechdrs[relsec].sh_addr; in __apply_relocate_add()
443 n = sechdrs[relsec].sh_size / sizeof(Elf_Rela); in __apply_relocate_add()
A Dmachine_kexec_file.c316 Elf_Rela *relas; in arch_kexec_apply_relocations_add()
/arch/parisc/kernel/
A Dmodule.c176 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots()
181 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs()
186 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs()
202 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots()
219 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs()
234 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs()
282 const Elf_Rela *rels = (void *)sechdrs[i].sh_addr; in module_frob_arch_sections()
/arch/sparc/kernel/
A Dmodule.c60 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/arch/riscv/mm/
A Dinit.c326 Elf_Rela *rela = (Elf_Rela *)&__rela_dyn_start; in relocate_kernel()
338 for ( ; rela < (Elf_Rela *)&__rela_dyn_end; rela++) { in relocate_kernel()

Completed in 622 milliseconds