Home
last modified time | relevance | path

Searched defs:sechdrs (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.12.1/arch/powerpc/kernel/
Dmodule_64.c208 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()
666 static unsigned long stub_for_addr(const Elf64_Shdr *sechdrs, in stub_for_addr()
694 static unsigned long got_for_addr(const Elf64_Shdr *sechdrs, in got_for_addr()
763 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
[all …]
Dmodule_32.c74 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()
Dmodule.c20 const Elf_Shdr *sechdrs, in find_section()
34 const Elf_Shdr *sechdrs, struct module *me) in module_finalize()
/linux-6.12.1/arch/x86/kernel/
Dmodule.c40 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate()
81 static int __write_relocate_add(Elf64_Shdr *sechdrs, in __write_relocate_add()
174 static int write_relocate_add(Elf64_Shdr *sechdrs, in write_relocate_add()
201 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
211 void clear_relocate_add(Elf64_Shdr *sechdrs, in clear_relocate_add()
224 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/sparc/kernel/
Dmodule.c26 Elf_Shdr *sechdrs, in module_frob_arch_sections()
53 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
155 const Elf_Shdr *sechdrs) in do_patch_sections()
178 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/m68k/kernel/
Dmodule.c22 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()
/linux-6.12.1/arch/arc/kernel/
Dmodule.c26 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()
/linux-6.12.1/arch/arm64/kernel/
Dmodule.c191 static int reloc_insn_adrp(struct module *mod, Elf64_Shdr *sechdrs, in reloc_insn_adrp()
218 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
440 const Elf_Shdr *sechdrs, in module_init_ftrace_plt()
461 const Elf_Shdr *sechdrs, in module_finalize()
Dmodule-plts.c69 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()
280 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/linux-6.12.1/arch/loongarch/kernel/
Dmodule-sections.c12 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()
Dmodule.c106 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel()
280 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_b26()
348 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_got_pc()
422 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
494 const Elf_Shdr *sechdrs, struct module *mod) in module_init_ftrace_plt()
511 const Elf_Shdr *sechdrs, struct module *mod) in module_finalize()
/linux-6.12.1/include/linux/
Dmoduleloader.h54 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate()
94 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
/linux-6.12.1/arch/microblaze/kernel/
Dmodule.c18 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()
/linux-6.12.1/arch/nios2/kernel/
Dmodule.c23 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
112 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/mips/kernel/
Dvpe.c183 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
Dmodule.c303 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate()
376 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate()
384 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
415 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/arm/kernel/
Dmodule.c76 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate()
399 const Elf_Shdr *sechdrs, const char *name) in find_mod_section()
414 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/sh/kernel/
Dmodule.c24 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add()
91 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/s390/kernel/
Dmodule.c106 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
427 static int __apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate_add()
453 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
492 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/hexagon/kernel/
Dmodule.c27 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()
/linux-6.12.1/arch/loongarch/include/asm/
Dmodule.h75 static inline int get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) in get_plt_idx()
89 Elf_Shdr *sechdrs, in get_plt_entry()
103 Elf_Shdr *sechdrs, in get_got_entry()
/linux-6.12.1/arch/parisc/kernel/
Dmodule.c268 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections()
489 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
634 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
803 const Elf_Shdr *sechdrs) in register_unwind_table()
828 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.12.1/arch/alpha/kernel/
Dmodule.c64 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()
/linux-6.12.1/kernel/
Dkexec_file.c837 const Elf_Shdr *sechdrs; in kexec_purgatory_setup_kbuf() local
901 Elf_Shdr *sechdrs; in kexec_purgatory_setup_sechdrs() local
971 const Elf_Shdr *sechdrs; in kexec_apply_relocations() local
1080 const Elf_Shdr *sechdrs; in kexec_purgatory_find_symbol() local
/linux-6.12.1/arch/openrisc/kernel/
Dmodule.c16 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add()

123