Home
last modified time | relevance | path

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

/linux/arch/riscv/kernel/
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()
A Dmodule.c316 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
/linux/include/asm-generic/
A Dmodule.h26 #define Elf_Rela Elf64_Rela macro
43 #define Elf_Rela Elf32_Rela macro
/linux/scripts/
A 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()
A Dsorttable.h27 #undef Elf_Rela
49 # define Elf_Rela Elf64_Rela macro
70 # define Elf_Rela Elf32_Rela macro
/linux/arch/s390/kernel/
A Dmodule.c71 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela()
125 Elf_Rela *rela; in module_frob_arch_sections()
167 nrela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
234 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
446 Elf_Rela *rela; in __apply_relocate_add()
454 rela = (Elf_Rela *) sechdrs[relsec].sh_addr; in __apply_relocate_add()
455 n = sechdrs[relsec].sh_size / sizeof(Elf_Rela); in __apply_relocate_add()
A Dmachine_kexec_file.c297 Elf_Rela *relas; in arch_kexec_apply_relocations_add()
/linux/arch/mips/include/asm/
A Dmodule.h44 #define Elf_Rela Elf32_Rela macro
62 #define Elf_Rela Elf64_Rela macro
/linux/scripts/mod/
A Dmodpost.c1029 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1035 Elf_Rela *r, Elf_Sym *sym,
1578 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler()
1653 Elf_Rela* r, Elf_Sym* sym, in report_extable_warnings()
1691 Elf_Rela* r, Elf_Sym* sym, in extable_mismatch_handler()
1726 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch()
1742 Elf_Shdr *sechdr, Elf_Rela *r) in reloc_location()
1837 Elf_Rela *rela; in section_rela()
1838 Elf_Rela r; in section_rela()
1843 Elf_Rela *stop = (void *)start + sechdr->sh_size; in section_rela()
[all …]
A Dmodpost.h33 #define Elf_Rela Elf32_Rela macro
48 #define Elf_Rela Elf64_Rela macro
/linux/arch/parisc/kernel/
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()
/linux/kernel/livepatch/
A Dcore.c200 Elf_Rela *relas; in klp_resolve_symbols()
218 relas = (Elf_Rela *) relasec->sh_addr; in klp_resolve_symbols()
220 for (i = 0; i < relasec->sh_size / sizeof(Elf_Rela); i++) { in klp_resolve_symbols()
/linux/arch/sparc/kernel/
A Dmodule.c90 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()

Completed in 21 milliseconds