/linux-6.3-rc2/scripts/ |
A D | recordmcount.h | 41 #undef Elf_Shdr 80 # define Elf_Shdr Elf64_Shdr macro 118 # define Elf_Shdr Elf32_Shdr macro 240 Elf_Shdr const *relhdr; in find_symtab() 259 Elf_Shdr *const shstr, in append_func() 268 Elf_Shdr mcsec; in append_func() 275 Elf_Shdr *const shdr0 = (Elf_Shdr *)(old_shoff + (void *)ehdr); in append_func() 378 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp() 455 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount() 609 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func() [all …]
|
A D | insert-sys-cert.c | 40 #define Elf_Shdr Elf32_Shdr macro 45 #define Elf_Shdr Elf64_Shdr macro 70 Elf_Shdr *x; in get_offset_from_address() 133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() 138 Elf_Shdr *x; in find_elf_symbol() 157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, in get_symbol_from_table() 160 Elf_Shdr *sec; in get_symbol_from_table() 163 Elf_Shdr *x; in get_symbol_from_table() 184 static Elf_Shdr *get_symbol_table(Elf_Ehdr *hdr) in get_symbol_table() 186 Elf_Shdr *x; in get_symbol_table() [all …]
|
A D | sorttable.h | 28 #undef Elf_Shdr 53 # define Elf_Shdr Elf64_Shdr macro 77 # define Elf_Shdr Elf32_Shdr macro 206 Elf_Shdr *init_data_sec; 266 Elf_Shdr *s, *shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_sort() 267 Elf_Shdr *strtab_sec = NULL; in do_sort() 268 Elf_Shdr *symtab_sec = NULL; in do_sort() 269 Elf_Shdr *extab_sec = NULL; in do_sort() 274 Elf_Shdr *sort_needed_sec; in do_sort()
|
/linux-6.3-rc2/include/linux/ |
A D | moduleloader.h | 21 Elf_Shdr *sechdrs, 50 int apply_relocate(Elf_Shdr *sechdrs, 56 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() 73 int apply_relocate_add(Elf_Shdr *sechdrs, 89 void clear_relocate_add(Elf_Shdr *sechdrs, 96 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 110 const Elf_Shdr *sechdrs,
|
A D | kexec.h | 119 Elf_Shdr *sechdrs; 267 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations_add() 268 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() 286 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations() 287 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations()
|
A D | cfi.h | 30 void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, 34 const Elf_Shdr *sechdrs, in module_cfi_finalize()
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | module.h | 43 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val); 44 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val); 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()
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | kexec.h | 62 Elf_Shdr *section, 63 const Elf_Shdr *relsec, 64 const Elf_Shdr *symtab);
|
A D | module.h | 16 Elf_Shdr *shdr; 115 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 116 const Elf_Shdr *sechdrs, in find_section() 119 const Elf_Shdr *s, *se; in find_section()
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | kexec.h | 102 Elf_Shdr *section, 103 const Elf_Shdr *relsec, 104 const Elf_Shdr *symtab);
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | module.c | 22 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 23 const Elf_Shdr *sechdrs, in find_section() 37 const Elf_Shdr *sechdrs, struct module *me) in module_finalize() 39 const Elf_Shdr *sect; in module_finalize()
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | module.h | 62 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 63 const Elf_Shdr *sechdrs, in find_section() 66 const Elf_Shdr *s, *se; in find_section()
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | module.c | 435 const Elf_Shdr *unw_sec; 436 const Elf_Shdr *txt_sec; 439 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr, in find_mod_section() 440 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() 442 const Elf_Shdr *s, *se; in find_mod_section() 455 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() 458 const Elf_Shdr *s = NULL; in module_finalize() 461 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize() 470 const Elf_Shdr *txt_sec; in module_finalize()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
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() 187 const Elf_Shdr *s, *sun4v_1insn = NULL, *sun4v_2insn = NULL; in do_patch_sections() 208 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | module-sections.c | 11 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry() 37 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_plt_entry() 103 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 107 Elf_Shdr *got_sec, *plt_sec, *plt_idx_sec, *tramp = NULL; in module_frob_arch_sections() 140 Elf_Shdr *dst_sec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
|
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() 401 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 479 const Elf_Shdr *sechdrs, struct module *mod) in module_init_ftrace_plt() 496 const Elf_Shdr *sechdrs, struct module *mod) in module_finalize() 498 const Elf_Shdr *s, *se; in module_finalize()
|
/linux-6.3-rc2/arch/x86/um/asm/ |
A D | module.h | 12 #define Elf_Shdr Elf32_Shdr macro 18 #define Elf_Shdr Elf64_Shdr macro
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | module.h | 76 int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); 78 static inline int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
/linux-6.3-rc2/include/asm-generic/ |
A D | module.h | 16 #define Elf_Shdr Elf64_Shdr macro 33 #define Elf_Shdr Elf32_Shdr macro
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | kexec.h | 198 Elf_Shdr *section, 199 const Elf_Shdr *relsec, 200 const Elf_Shdr *symtab);
|
/linux-6.3-rc2/scripts/mod/ |
A D | modpost.h | 26 #define Elf_Shdr Elf32_Shdr macro 40 #define Elf_Shdr Elf64_Shdr macro 137 Elf_Shdr *sechdrs;
|
/linux-6.3-rc2/kernel/module/ |
A D | internal.h | 63 Elf_Shdr *sechdrs; 104 long module_get_offset(struct module *mod, unsigned int *size, Elf_Shdr *sechdr, 225 int module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, 251 static inline bool sect_empty(const Elf_Shdr *sect) in sect_empty()
|
A D | kallsyms.c | 39 const Elf_Shdr *sechdrs = info->sechdrs; in elf_type() 77 static bool is_core_symbol(const Elf_Sym *src, const Elf_Shdr *sechdrs, in is_core_symbol() 80 const Elf_Shdr *sec; in is_core_symbol() 112 Elf_Shdr *symsect = info->sechdrs + info->index.sym; in layout_symtab() 113 Elf_Shdr *strsect = info->sechdrs + info->index.str; in layout_symtab() 172 Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; in add_kallsyms() 224 const Elf_Shdr *sechdr; in init_build_id()
|
/linux-6.3-rc2/arch/mips/kernel/ |
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() 429 const Elf_Shdr *s; in module_finalize()
|
/linux-6.3-rc2/arch/parisc/kernel/ |
A D | module.c | 299 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections() 518 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 663 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 832 const Elf_Shdr *sechdrs) in register_unwind_table() 857 const Elf_Shdr *sechdrs, in module_finalize() 863 const Elf_Shdr *s; in module_finalize() 867 Elf_Shdr *symhdr = NULL; in module_finalize() 896 symhdr = (Elf_Shdr *)&sechdrs[i]; in module_finalize() 957 err = apply_relocate((Elf_Shdr *)sechdrs, in module_finalize() 961 err = apply_relocate_add((Elf_Shdr *)sechdrs, in module_finalize()
|