| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | recordmcount.h | 41 #undef Elf_Shdr 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() 259 Elf_Shdr *const shstr, in append_func() 268 Elf_Shdr mcsec; in append_func() [all …]
|
| H 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 …]
|
| H A D | sorttable.h | 25 #undef Elf_Shdr 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | moduleloader.h | 18 Elf_Shdr *sechdrs, 47 int apply_relocate(Elf_Shdr *sechdrs, 53 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() 70 int apply_relocate_add(Elf_Shdr *sechdrs, 76 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 90 const Elf_Shdr *sechdrs,
|
| H A D | kexec.h | 111 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | module.c | 20 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()
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H A D | module.c | 329 const Elf_Shdr *unw_sec; 330 const Elf_Shdr *txt_sec; 333 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr, in find_mod_section() 334 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() 336 const Elf_Shdr *s, *se; in find_mod_section() 349 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() 352 const Elf_Shdr *s = NULL; in module_finalize() 355 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | kexec.h | 91 Elf_Shdr *section, 92 const Elf_Shdr *relsec, 93 const Elf_Shdr *symtab);
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | module.c | 478 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 479 const Elf_Shdr *sechdrs, in find_section() 482 const Elf_Shdr *s, *se; in find_section() 499 const Elf_Shdr *sechdrs, in module_init_ftrace_plt() 503 const Elf_Shdr *s; in module_init_ftrace_plt() 523 const Elf_Shdr *sechdrs, in module_finalize() 526 const Elf_Shdr *s; in module_finalize()
|
| /OK3568_Linux_fs/kernel/arch/x86/um/asm/ |
| H A D | module.h | 12 #define Elf_Shdr Elf32_Shdr macro 18 #define Elf_Shdr Elf64_Shdr macro
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | module.h | 78 int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); 80 static inline int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | kexec.h | 197 Elf_Shdr *section, 198 const Elf_Shdr *relsec, 199 const Elf_Shdr *symtab);
|
| /OK3568_Linux_fs/kernel/arch/parisc/kernel/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | module.h | 16 #define Elf_Shdr Elf64_Shdr macro 33 #define Elf_Shdr Elf32_Shdr macro
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | vpe.c | 169 static long get_offset(unsigned long *size, Elf_Shdr *sechdr) in get_offset() 183 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() 201 Elf_Shdr *s = &sechdrs[i]; in layout_sections() 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() 605 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload()
|
| H A D | module.c | 306 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() 391 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() 399 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 430 const Elf_Shdr *sechdrs, in module_finalize() 433 const Elf_Shdr *s; in module_finalize()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | kexec_file.c | 816 const Elf_Shdr *sechdrs; in kexec_purgatory_setup_kbuf() 879 Elf_Shdr *sechdrs; in kexec_purgatory_setup_sechdrs() 886 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs() 890 pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in kexec_purgatory_setup_sechdrs() 937 const Elf_Shdr *sechdrs; in kexec_apply_relocations() 942 const Elf_Shdr *relsec; in kexec_apply_relocations() 943 const Elf_Shdr *symtab; in kexec_apply_relocations() 944 Elf_Shdr *section; in kexec_apply_relocations() 1046 const Elf_Shdr *sechdrs; in kexec_purgatory_find_symbol() 1095 Elf_Shdr *sechdr; in kexec_purgatory_get_symbol_addr() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/mod/ |
| H A D | modpost.h | 25 #define Elf_Shdr Elf32_Shdr macro 40 #define Elf_Shdr Elf64_Shdr macro 139 Elf_Shdr *sechdrs;
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/ |
| H A D | elf.h | 22 typedef Elf32_Shdr Elf_Shdr; typedef 52 typedef Elf64_Shdr Elf_Shdr; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/ |
| H A D | elf.h | 22 typedef Elf32_Shdr Elf_Shdr; typedef 52 typedef Elf64_Shdr Elf_Shdr; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/ |
| H A D | elf.h | 22 typedef Elf32_Shdr Elf_Shdr; typedef 52 typedef Elf64_Shdr Elf_Shdr; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/ |
| H A D | elf.h | 22 typedef Elf32_Shdr Elf_Shdr; typedef 52 typedef Elf64_Shdr Elf_Shdr; typedef
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | module.h | 39 #define Elf_Shdr Elf32_Shdr macro 57 #define Elf_Shdr Elf64_Shdr macro
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | module.c | 110 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 113 Elf_Shdr *symtab; in module_frob_arch_sections() 428 static int __apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate_add() 454 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 469 const Elf_Shdr *sechdrs, in module_finalize() 472 const Elf_Shdr *s; in module_finalize()
|