Home
last modified time | relevance | path

Searched refs:Elf_Shdr (Results 1 - 25 of 122) sorted by relevance

12345

/kernel/linux/linux-5.10/scripts/
H A Drecordmcount.h41 #undef Elf_Shdr macro
80 # define Elf_Shdr Elf64_Shdr macro
118 # define Elf_Shdr Elf32_Shdr macro
211 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum()
219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum()
228 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx()
236 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab()
240 Elf_Shdr const *relhdr; in find_symtab()
257 /* Append the new shstrtab, Elf_Shdr[], __mcount_loc and its relocations. */
259 Elf_Shdr *cons in append_func()
[all...]
H A Dsorttable.h25 #undef Elf_Shdr macro
47 # define Elf_Shdr Elf64_Shdr macro
68 # define Elf_Shdr Elf32_Shdr macro
200 Elf_Shdr *s, *shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_sort()
201 Elf_Shdr *strtab_sec = NULL; in do_sort()
202 Elf_Shdr *symtab_sec = NULL; in do_sort()
203 Elf_Shdr *extab_sec = NULL; in do_sort()
208 Elf_Shdr *sort_needed_sec; in do_sort()
H A Dinsert-sys-cert.c40 #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 * in get_symbol_table()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.h41 #undef Elf_Shdr macro
80 # define Elf_Shdr Elf64_Shdr macro
118 # define Elf_Shdr Elf32_Shdr macro
211 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum()
219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum()
228 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx()
236 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab()
240 Elf_Shdr const *relhdr; in find_symtab()
257 /* Append the new shstrtab, Elf_Shdr[], __mcount_loc and its relocations. */
259 Elf_Shdr *cons in append_func()
[all...]
H A Dinsert-sys-cert.c40 #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 * in get_symbol_table()
[all...]
H A Dsorttable.h28 #undef Elf_Shdr macro
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_se in do_sort()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dmoduleloader.h21 Elf_Shdr *sechdrs,
55 int apply_relocate(Elf_Shdr *sechdrs,
61 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate()
78 int apply_relocate_add(Elf_Shdr *sechdrs,
94 void clear_relocate_add(Elf_Shdr *sechdrs,
101 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
115 const Elf_Shdr *sechdrs,
H A Dkexec.h120 Elf_Shdr *sechdrs;
245 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations_add()
246 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add()
264 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations()
265 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations()
/kernel/linux/linux-5.10/include/linux/
H A Dmoduleloader.h18 Elf_Shdr *sechdrs,
52 int apply_relocate(Elf_Shdr *sechdrs,
58 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate()
75 int apply_relocate_add(Elf_Shdr *sechdrs,
81 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
95 const Elf_Shdr *sechdrs,
H A Dkexec.h111 Elf_Shdr *sechdrs;
230 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations_add()
231 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add()
249 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations()
250 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dmodule.h49 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
50 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
74 static inline int get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) in get_plt_idx()
88 Elf_Shdr *sechdrs, in get_plt_entry()
102 Elf_Shdr *sechdrs, in get_got_entry()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dmodule.h43 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()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dkexec.h62 Elf_Shdr *section,
63 const Elf_Shdr *relsec,
64 const Elf_Shdr *symtab);
H A Dmodule.h16 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()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dkexec.h91 Elf_Shdr *section,
92 const Elf_Shdr *relsec,
93 const Elf_Shdr *symtab);
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dmodule.h54 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
55 const Elf_Shdr *sechdrs, in find_section()
58 const Elf_Shdr *s, *se; in find_section()
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dkexec.h102 Elf_Shdr *section,
103 const Elf_Shdr *relsec,
104 const Elf_Shdr *symtab);
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dmodule.c20 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
21 const Elf_Shdr *sechdrs, in find_section()
35 const Elf_Shdr *sechdrs, struct module *me) in module_finalize()
37 const Elf_Shdr *sect; in module_finalize()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dmodule.c22 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()
/kernel/linux/linux-5.10/arch/x86/um/asm/
H A Dmodule.h12 #define Elf_Shdr Elf32_Shdr macro
18 #define Elf_Shdr Elf64_Shdr macro
/kernel/linux/linux-6.6/arch/x86/um/asm/
H A Dmodule.h12 #define Elf_Shdr Elf32_Shdr macro
18 #define Elf_Shdr Elf64_Shdr macro
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dmodule.c433 const Elf_Shdr *unw_sec;
434 const Elf_Shdr *txt_sec;
437 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr, in find_mod_section()
438 const Elf_Shdr *sechdrs, const char *name) in find_mod_section()
440 const Elf_Shdr *s, *se; in find_mod_section()
453 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
456 const Elf_Shdr *s = NULL; in module_finalize()
459 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
468 const Elf_Shdr *txt_sec; in module_finalize()
/kernel/linux/linux-5.10/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()
108 Elf_Shdr *got_sec, *plt_sec, *plt_idx_sec, *tramp = NULL; in module_frob_arch_sections()
141 Elf_Shdr *dst_sec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dmodule.c56 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()
/kernel/linux/linux-6.6/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()
108 Elf_Shdr *got_sec, *plt_sec, *plt_idx_sec, *tramp = NULL; in module_frob_arch_sections()
141 Elf_Shdr *dst_sec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()

Completed in 11 milliseconds

12345