Home
last modified time | relevance | path

Searched refs:Elf_Rela (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A 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()
H A Dmodule.c327 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A 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()
/kernel/linux/linux-5.10/include/asm-generic/
H A Dmodule.h26 #define Elf_Rela Elf64_Rela macro
43 #define Elf_Rela Elf32_Rela macro
/kernel/linux/linux-6.6/include/asm-generic/
H A Dmodule.h26 #define Elf_Rela Elf64_Rela macro
43 #define Elf_Rela Elf32_Rela macro
/kernel/linux/linux-5.10/scripts/
H A Drecordmcount.h43 #undef Elf_Rela macro
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()
H A Dsorttable.h27 #undef Elf_Rela macro
49 # define Elf_Rela Elf64_Rela macro
70 # define Elf_Rela Elf32_Rela macro
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.h43 #undef Elf_Rela macro
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()
H A Dsorttable.h30 #undef Elf_Rela macro
55 # define Elf_Rela Elf64_Rela macro
79 # define Elf_Rela Elf32_Rela macro
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dmodule.h44 #define Elf_Rela Elf32_Rela macro
62 #define Elf_Rela Elf64_Rela macro
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dmodule.h44 #define Elf_Rela Elf32_Rela macro
62 #define Elf_Rela Elf64_Rela macro
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dmodule.c61 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela()
115 Elf_Rela *rela; in module_frob_arch_sections()
157 nrela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
224 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
435 Elf_Rela *rela; in __apply_relocate_add()
443 rela = (Elf_Rela *) sechdrs[relsec].sh_addr; in __apply_relocate_add()
444 n = sechdrs[relsec].sh_size / sizeof(Elf_Rela); in __apply_relocate_add()
H A Dmachine_kexec_file.c287 Elf_Rela *relas; in arch_kexec_apply_relocations_add()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dmodule.c93 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()
/kernel/linux/linux-5.10/scripts/mod/
H A Dmodpost.c1032 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1038 Elf_Rela *r, Elf_Sym *sym,
1586 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler()
1627 static void find_extable_entry_size(const char* const sec, const Elf_Rela* r) in find_extable_entry_size()
1642 static inline bool is_extable_fault_address(Elf_Rela *r) in is_extable_fault_address()
1661 Elf_Rela* r, Elf_Sym* sym, in report_extable_warnings()
1699 Elf_Rela* r, Elf_Sym* sym, in extable_mismatch_handler()
1734 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch()
1750 Elf_Shdr *sechdr, Elf_Rela *r) in reloc_location()
1755 static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *
[all...]
H A Dmodpost.h34 #define Elf_Rela Elf32_Rela macro
49 #define Elf_Rela Elf64_Rela macro
/kernel/linux/linux-6.6/scripts/mod/
H A Dmodpost.h34 #define Elf_Rela Elf32_Rela macro
48 #define Elf_Rela Elf64_Rela macro
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dmodule.c207 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots()
212 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs()
217 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs()
233 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots()
250 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs()
265 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs()
312 const Elf_Rela *rels = (void *)sechdrs[i].sh_addr; in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dmodule.c188 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()
/kernel/linux/linux-5.10/kernel/livepatch/
H A Dcore.c201 Elf_Rela *relas, *last = NULL; in klp_resolve_symbols()
219 relas = (Elf_Rela *) relasec->sh_addr; in klp_resolve_symbols()
221 for (i = 0; i < relasec->sh_size / sizeof(Elf_Rela); i++) { in klp_resolve_symbols()
/kernel/linux/linux-6.6/kernel/livepatch/
H A 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()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dmodule.c90 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dmodule.c90 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()

Completed in 23 milliseconds

12