Searched refs:Elf_Rela (Results 1 – 15 of 15) sorted by relevance
| /Linux-v6.6/arch/riscv/kernel/ |
| D | module-sections.c | 58 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()
|
| D | module.c | 344 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
|
| /Linux-v6.6/arch/loongarch/kernel/ |
| D | module-sections.c | 64 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()
|
| D | module.c | 433 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
|
| /Linux-v6.6/include/asm-generic/ |
| D | module.h | 26 #define Elf_Rela Elf64_Rela macro 43 #define Elf_Rela Elf32_Rela macro
|
| /Linux-v6.6/arch/mips/include/asm/ |
| D | module.h | 44 #define Elf_Rela Elf32_Rela macro 62 #define Elf_Rela Elf64_Rela macro
|
| /Linux-v6.6/scripts/ |
| D | recordmcount.h | 43 #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()
|
| D | sorttable.h | 30 #undef Elf_Rela 55 # define Elf_Rela Elf64_Rela macro 79 # define Elf_Rela Elf32_Rela macro
|
| /Linux-v6.6/arch/s390/kernel/ |
| D | module.c | 93 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela() 147 Elf_Rela *rela; in module_frob_arch_sections() 190 nrela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections() 258 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela() 470 Elf_Rela *rela; in __apply_relocate_add() 478 rela = (Elf_Rela *) sechdrs[relsec].sh_addr; in __apply_relocate_add() 479 n = sechdrs[relsec].sh_size / sizeof(Elf_Rela); in __apply_relocate_add()
|
| D | machine_kexec_file.c | 306 Elf_Rela *relas; in arch_kexec_apply_relocations_add()
|
| /Linux-v6.6/scripts/mod/ |
| D | modpost.h | 34 #define Elf_Rela Elf32_Rela macro 48 #define Elf_Rela Elf64_Rela macro
|
| D | modpost.c | 1488 Elf_Rela *rela; in section_rela() 1491 Elf_Rela *start = (void *)elf->hdr + sechdr->sh_offset; in section_rela() 1492 Elf_Rela *stop = (void *)start + sechdr->sh_size; in section_rela()
|
| /Linux-v6.6/arch/parisc/kernel/ |
| D | module.c | 188 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots() 193 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs() 198 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs() 214 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots() 231 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs() 246 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs() 294 const Elf_Rela *rels = (void *)sechdrs[i].sh_addr; in module_frob_arch_sections()
|
| /Linux-v6.6/arch/sparc/kernel/ |
| D | module.c | 90 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
|
| /Linux-v6.6/kernel/livepatch/ |
| D | core.c | 199 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()
|