Home
last modified time | relevance | path

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

123

/linux-6.15/arch/powerpc/kernel/
H A Dmodule_64.c208 const Elf64_Shdr *sechdrs, in get_stubs_size()
268 static int count_pcpu_relocs(const Elf64_Shdr *sechdrs, in count_pcpu_relocs()
299 const Elf64_Shdr *sechdrs, in get_got_size()
406 static Elf64_Sym *find_dot_toc(Elf64_Shdr *sechdrs, in find_dot_toc()
432 Elf64_Shdr *sechdrs, in module_frob_arch_sections()
610 static inline unsigned long my_r2(const Elf64_Shdr *sechdrs, struct module *me) in my_r2()
620 static inline int create_stub(const Elf64_Shdr *sechdrs, in create_stub()
696 static unsigned long stub_for_addr(const Elf64_Shdr *sechdrs, in stub_for_addr()
724 static unsigned long got_for_addr(const Elf64_Shdr *sechdrs, in got_for_addr()
793 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
[all …]
H A 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()
H A Dmodule.c20 const Elf_Shdr *sechdrs, in find_section()
34 const Elf_Shdr *sechdrs, struct module *me) in module_finalize()
/linux-6.15/arch/sparc/kernel/
H A 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.15/arch/x86/kernel/
H A Dmodule.c41 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate()
82 static int __write_relocate_add(Elf64_Shdr *sechdrs, in __write_relocate_add()
189 static int write_relocate_add(Elf64_Shdr *sechdrs, in write_relocate_add()
216 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
226 void clear_relocate_add(Elf64_Shdr *sechdrs, in clear_relocate_add()
239 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.15/arch/m68k/kernel/
H A 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.15/arch/arc/kernel/
H A 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.15/arch/arm64/kernel/
H A 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()
H A 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.15/arch/loongarch/kernel/
H A 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()
H A 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.15/include/linux/
H A 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.15/arch/microblaze/kernel/
H A 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.15/arch/nios2/kernel/
H A 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.15/arch/mips/kernel/
H A 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
H A 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.15/arch/arm/kernel/
H A 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.15/arch/sh/kernel/
H A Dmodule.c24 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add()
91 const Elf_Shdr *sechdrs, in module_finalize()
/linux-6.15/arch/s390/kernel/
H A 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.15/arch/hexagon/kernel/
H A 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.15/arch/loongarch/include/asm/
H A 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.15/kernel/module/
H A Dversion.c18 Elf_Shdr *sechdrs = info->sechdrs; in check_version() local
112 Elf_Shdr *sechdrs = info->sechdrs; in modversion_ext_start() local
/linux-6.15/arch/parisc/kernel/
H A 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.15/arch/alpha/kernel/
H A 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.15/kernel/
H A Dkexec_file.c849 const Elf_Shdr *sechdrs; in kexec_purgatory_setup_kbuf() local
913 Elf_Shdr *sechdrs; in kexec_purgatory_setup_sechdrs() local
983 const Elf_Shdr *sechdrs; in kexec_apply_relocations() local
1092 const Elf_Shdr *sechdrs; in kexec_purgatory_find_symbol() local

123