Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kernel/
Dmodule-sections.c58 static int is_rela_equal(const Elf_Rela *x, const Elf_Rela *y) in is_rela_equal()
63 static bool duplicate_rela(const Elf_Rela *rela, int idx) in duplicate_rela()
73 static void count_max_entries(Elf_Rela *relas, int num, in count_max_entries()
124 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
125 int num_rela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
Dmodule.c780 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-6.12.1/arch/loongarch/kernel/
Dmodule-sections.c64 static int is_rela_equal(const Elf_Rela *x, const Elf_Rela *y) in is_rela_equal()
69 static bool duplicate_rela(const Elf_Rela *rela, int idx) in duplicate_rela()
81 static void count_max_entries(Elf_Rela *relas, int num, 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()
Dmodule.c434 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-6.12.1/include/asm-generic/
Dmodule.h26 #define Elf_Rela Elf64_Rela macro
43 #define Elf_Rela Elf32_Rela macro
/linux-6.12.1/arch/mips/include/asm/
Dmodule.h44 #define Elf_Rela Elf32_Rela macro
62 #define Elf_Rela Elf64_Rela macro
/linux-6.12.1/arch/s390/kernel/
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()
Dmachine_kexec_file.c316 Elf_Rela *relas; in arch_kexec_apply_relocations_add()
/linux-6.12.1/scripts/
Drecordmcount.h43 #undef Elf_Rela
82 # define Elf_Rela Elf64_Rela macro
120 # define Elf_Rela Elf32_Rela macro
269 char const *mc_name = (sizeof(Elf_Rela) == rel_entsize) in append_func()
307 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func()
322 mcsec.sh_type = (sizeof(Elf_Rela) == rel_entsize) in append_func()
432 if (rel_entsize == sizeof(Elf_Rela)) { in sift_rel_mcount()
433 ((Elf_Rela *)mrelp)->r_addend = addend; in sift_rel_mcount()
Dsorttable.h30 #undef Elf_Rela
55 # define Elf_Rela Elf64_Rela macro
79 # define Elf_Rela Elf32_Rela macro
/linux-6.12.1/arch/parisc/kernel/
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()
/linux-6.12.1/scripts/mod/
Dmodpost.h36 #define Elf_Rela Elf32_Rela macro
50 #define Elf_Rela Elf64_Rela macro
Dmodpost.c1324 const Elf_Rela *start, const Elf_Rela *stop) in section_rela()
1326 const Elf_Rela *rela; in section_rela()
/linux-6.12.1/arch/sparc/kernel/
Dmodule.c60 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux-6.12.1/kernel/livepatch/
Dcore.c199 Elf_Rela *relas; in klp_resolve_symbols()
217 relas = (Elf_Rela *) relasec->sh_addr; in klp_resolve_symbols()
219 for (i = 0; i < relasec->sh_size / sizeof(Elf_Rela); i++) { in klp_resolve_symbols()