Home
last modified time | relevance | path

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

12

/linux/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.c20 const Elf_Shdr *sechdrs, in find_section()
34 const Elf_Shdr *sechdrs, struct module *me) in module_finalize()
/linux/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/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/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/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/arch/arm64/kernel/
H A Dmodule.c204 static int reloc_insn_adrp(struct module *mod, Elf64_Shdr *sechdrs, in reloc_insn_adrp()
231 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
453 const Elf_Shdr *sechdrs, in module_init_ftrace_plt()
485 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/arch/loongarch/kernel/
H A Dmodule-sections.c13 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry()
39 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/arch/mips/kernel/
H A Dvpe.c184 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections()
425 static int apply_relocations(Elf32_Shdr *sechdrs, in apply_relocations()
477 static void simplify_symbols(Elf_Shdr *sechdrs, in simplify_symbols()
536 static void dump_elfsymbols(Elf_Shdr *sechdrs, unsigned int symindex, in dump_elfsymbols()
550 static int find_vpe_symbols(struct vpe *v, Elf_Shdr *sechdrs, in find_vpe_symbols()
579 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/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/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/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/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/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/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/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/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/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/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/kernel/
H A Dkexec_file.c897 const Elf_Shdr *sechdrs; in kexec_purgatory_setup_kbuf() local
961 Elf_Shdr *sechdrs; in kexec_purgatory_setup_sechdrs() local
1031 const Elf_Shdr *sechdrs; in kexec_apply_relocations() local
1140 const Elf_Shdr *sechdrs; in kexec_purgatory_find_symbol() local
/linux/arch/openrisc/kernel/
H A Dmodule.c16 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add()
/linux/arch/xtensa/kernel/
H A Dmodule.c47 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add()

12