/openbmc/linux/arch/powerpc/kernel/ |
H A D | module_64.c | 208 const Elf64_Shdr *sechdrs) in get_stubs_size() 258 static int count_pcpu_relocs(const Elf64_Shdr *sechdrs, in count_pcpu_relocs() 289 const Elf64_Shdr *sechdrs, in get_got_size() 378 static Elf64_Sym *find_dot_toc(Elf64_Shdr *sechdrs, in find_dot_toc() 404 Elf64_Shdr *sechdrs, in module_frob_arch_sections() 580 static inline unsigned long my_r2(const Elf64_Shdr *sechdrs, struct module *me) in my_r2() 590 static inline int create_stub(const Elf64_Shdr *sechdrs, in create_stub() 667 static unsigned long stub_for_addr(const Elf64_Shdr *sechdrs, in stub_for_addr() 695 static unsigned long got_for_addr(const Elf64_Shdr *sechdrs, in got_for_addr() 764 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() [all …]
|
H A D | module_32.c | 74 const Elf32_Shdr *sechdrs, in get_plt_size() 121 Elf32_Shdr *sechdrs, in module_frob_arch_sections() 159 const Elf32_Shdr *sechdrs, in do_plt_call() 196 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 322 int module_finalize_ftrace(struct module *module, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
H A D | module.c | 23 const Elf_Shdr *sechdrs, in find_section() 37 const Elf_Shdr *sechdrs, struct module *me) in module_finalize()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | module.c | 56 Elf_Shdr *sechdrs, in module_frob_arch_sections() 83 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 185 const Elf_Shdr *sechdrs) in do_patch_sections() 208 const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | module.c | 91 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() 132 static int __write_relocate_add(Elf64_Shdr *sechdrs, in __write_relocate_add() 225 static int write_relocate_add(Elf64_Shdr *sechdrs, in write_relocate_add() 252 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() 262 void clear_relocate_add(Elf64_Shdr *sechdrs, in clear_relocate_add() 275 const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | module.c | 22 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() 62 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 103 const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/arc/kernel/ |
H A D | module.c | 26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 45 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 132 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | module-sections.c | 12 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry() 38 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_plt_entry() 104 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
H A D | module.c | 105 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel() 279 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_b26() 347 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_got_pc() 421 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 499 const Elf_Shdr *sechdrs, struct module *mod) in module_init_ftrace_plt() 516 const Elf_Shdr *sechdrs, struct module *mod) in module_finalize()
|
/openbmc/linux/arch/microblaze/kernel/ |
H A D | module.c | 18 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 91 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/include/linux/ |
H A D | moduleloader.h | 61 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() 101 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
|
H A D | cfi.h | 36 const Elf_Shdr *sechdrs, in module_cfi_finalize()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | module.c | 24 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 91 const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/nios2/kernel/ |
H A D | module.c | 43 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 132 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module.c | 317 static int reloc_insn_adrp(struct module *mod, Elf64_Shdr *sechdrs, in reloc_insn_adrp() 344 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() 566 const Elf_Shdr *sechdrs, in module_init_ftrace_plt() 587 const Elf_Shdr *sechdrs, in module_finalize()
|
H A D | module-plts.c | 69 u64 module_emit_plt_entry(struct module *mod, Elf64_Shdr *sechdrs, in module_emit_plt_entry() 101 u64 module_emit_veneer_for_adrp(struct module *mod, Elf64_Shdr *sechdrs, in module_emit_veneer_for_adrp() 281 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | module.h | 68 static inline int get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) in get_plt_idx() 82 Elf_Shdr *sechdrs, in get_plt_entry() 96 Elf_Shdr *sechdrs, in get_got_entry()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | vpe.c | 183 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() 424 static int apply_relocations(Elf32_Shdr *sechdrs, in apply_relocations() 476 static void simplify_symbols(Elf_Shdr *sechdrs, in simplify_symbols() 535 static void dump_elfsymbols(Elf_Shdr *sechdrs, unsigned int symindex, in dump_elfsymbols() 549 static int find_vpe_symbols(struct vpe *v, Elf_Shdr *sechdrs, in find_vpe_symbols() 578 Elf_Shdr *sechdrs; in vpe_elfload() local
|
H A D | module.c | 314 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() 387 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() 395 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 426 const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | module.c | 27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 67 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | module.c | 142 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 463 static int __apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate_add() 489 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 528 const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | module.c | 110 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() 438 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() 453 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | module.c | 280 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections() 501 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 646 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 815 const Elf_Shdr *sechdrs) in register_unwind_table() 840 const Elf_Shdr *sechdrs, in module_finalize()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | module.c | 64 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, in module_frob_arch_sections() 133 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | module.c | 16 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add()
|