Home
last modified time | relevance | path

Searched refs:Elf_Sym (Results 1 – 25 of 25) sorted by relevance

/linux/arch/x86/tools/
A Drelocs.c12 #define Elf_Sym ElfW(Sym) macro
20 static int sym_index(Elf_Sym *sym);
41 Elf_Sym *symtab;
290 Elf_Sym *symtab; in sym_lookup()
291 Elf_Sym *sym; in sym_lookup()
348 static int sym_index(Elf_Sym *sym) in sym_index()
540 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
613 Elf_Sym *sym; in print_absolute_symbols()
645 Elf_Sym *sh_symtab; in print_absolute_relocs()
659 Elf_Sym *sym; in print_absolute_relocs()
[all …]
/linux/scripts/mod/
A Dmodpost.h25 #define Elf_Sym Elf32_Sym macro
40 #define Elf_Sym Elf64_Sym macro
139 Elf_Sym *symtab_start;
140 Elf_Sym *symtab_stop;
171 const Elf_Sym *sym) in get_secindex()
183 Elf_Sym *sym, const char *symname);
A Dmodpost.c479 Elf_Sym *sym; in parse_elf()
1293 Elf_Sym *relsym) in find_elf_symbol()
1295 Elf_Sym *sym; in find_elf_symbol()
1296 Elf_Sym *near = NULL; in find_elf_symbol()
1339 Elf_Sym *sym; in find_elf_symbol2()
1340 Elf_Sym *near = NULL; in find_elf_symbol2()
1581 Elf_Sym *to; in default_mismatch_handler()
1582 Elf_Sym *from; in default_mismatch_handler()
1836 Elf_Sym *sym; in section_rela()
1882 Elf_Sym *sym; in section_rel()
[all …]
A Dfile2alias.c1532 Elf_Sym *sym, const char *symname) in handle_moddevtable()
/linux/scripts/
A Dsorttable.h28 #undef Elf_Sym
50 # define Elf_Sym Elf64_Sym macro
71 # define Elf_Sym Elf32_Sym macro
204 Elf_Sym *sym; in do_sort()
205 const Elf_Sym *symtab; in do_sort()
207 Elf_Sym *sort_needed_sym = NULL; in do_sort()
314 symtab = (const Elf_Sym *)((const char *)ehdr + in do_sort()
331 sym < sym + _r(&symtab_sec->sh_size) / sizeof(Elf_Sym); in do_sort()
A Drecordmcount.h44 #undef Elf_Sym
83 # define Elf_Sym Elf64_Sym macro
121 # define Elf_Sym Elf32_Sym macro
350 static unsigned get_mcountsym(Elf_Sym const *const sym0, in get_mcountsym()
356 Elf_Sym const *const symp = in get_mcountsym()
374 Elf_Sym const **sym0, in get_sym_str_and_relp()
386 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
411 Elf_Sym const *sym0; in sift_rel_mcount()
457 Elf_Sym const *sym0; in nop_mcount()
525 Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) in find_secsym_ndx()
[all …]
A Dinsert-sys-cert.c41 #define Elf_Sym Elf32_Sym macro
46 #define Elf_Sym Elf64_Sym macro
133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol()
135 Elf_Sym *sym, *symtab_start; in find_elf_symbol()
162 Elf_Sym *elf_sym; in get_symbol_from_table()
/linux/arch/sparc/kernel/
A Dmodule.c61 Elf_Sym *sym; in module_frob_arch_sections()
71 sym = (Elf_Sym *)sechdrs[symidx].sh_addr; in module_frob_arch_sections()
74 for (i = 1; i < sechdrs[symidx].sh_size / sizeof(Elf_Sym); i++) { in module_frob_arch_sections()
91 Elf_Sym *sym; in apply_relocate_add()
109 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux/arch/x86/um/asm/
A Dmodule.h13 #define Elf_Sym Elf32_Sym macro
19 #define Elf_Sym Elf64_Sym macro
/linux/arch/mips/boot/tools/
A Drelocs.c12 #define Elf_Sym ElfW(Sym) macro
27 Elf_Sym *symtab;
119 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name()
341 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in read_symtabs()
342 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
468 Elf_Sym *sym, const char *symname)) in walk_relocs()
475 Elf_Sym *sh_symtab; in walk_relocs()
492 Elf_Sym *sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in walk_relocs()
500 static int do_reloc(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in do_reloc()
/linux/include/asm-generic/
A Dmodule.h18 #define Elf_Sym Elf64_Sym macro
35 #define Elf_Sym Elf32_Sym macro
/linux/arch/mips/include/asm/
A Dmodule.h40 #define Elf_Sym Elf32_Sym macro
58 #define Elf_Sym Elf64_Sym macro
/linux/tools/perf/util/
A Dgenelf.h56 #define Elf_Sym Elf64_Sym macro
65 #define Elf_Sym Elf32_Sym macro
A Dgenelf.c81 static Elf_Sym symtab[]={
397 shdr->sh_entsize = sizeof(Elf_Sym); in jit_write_elf()
/linux/arch/riscv/kernel/
A Dmodule.c318 Elf_Sym *sym; in apply_relocate_add()
332 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
372 Elf_Sym *hi20_sym = in apply_relocate_add()
373 (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux/arch/mips/kernel/
A Dvpe.c483 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in simplify_symbols()
485 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in simplify_symbols()
539 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in dump_elfsymbols()
540 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in dump_elfsymbols()
554 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in find_vpe_symbols()
555 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in find_vpe_symbols()
A Dmodule.c321 Elf_Sym *sym; in __apply_relocate()
339 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
/linux/arch/s390/kernel/
A Dmodule.c124 Elf_Sym *symbols; in module_frob_arch_sections()
143 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
234 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
445 Elf_Sym *symtab; in __apply_relocate_add()
453 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in __apply_relocate_add()
A Dmachine_kexec_file.c309 const Elf_Sym *sym; /* symbol to relocate */ in arch_kexec_apply_relocations_add()
/linux/arch/arm/include/asm/
A Dmodule.h52 static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) in kallsyms_symbol_value()
/linux/kernel/
A Dkexec_file.c1073 static const Elf_Sym *kexec_purgatory_find_symbol(struct purgatory_info *pi, in kexec_purgatory_find_symbol()
1078 const Elf_Sym *syms; in kexec_purgatory_find_symbol()
1099 for (k = 0; k < sechdrs[i].sh_size/sizeof(Elf_Sym); k++) { in kexec_purgatory_find_symbol()
1124 const Elf_Sym *sym; in kexec_purgatory_get_symbol_addr()
1148 const Elf_Sym *sym; in kexec_purgatory_get_set_symbol()
A Dmodule.c2287 Elf_Sym *sym = (void *)symsec->sh_addr; in simplify_symbols()
2293 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) { in simplify_symbols()
2625 static char elf_type(const Elf_Sym *sym, const struct load_info *info) in elf_type()
2702 const Elf_Sym *src; in layout_symtab()
2756 const Elf_Sym *src; in add_kallsyms()
2757 Elf_Sym *dst; in add_kallsyms()
2765 mod->kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms()
4276 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol()
4420 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym()
4443 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol_value()
[all …]
/linux/arch/parisc/kernel/
A Dmodule.c866 Elf_Sym *newptr, *oldptr; in module_finalize()
920 nsyms = symhdr->sh_size / sizeof(Elf_Sym); in module_finalize()
935 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr; in module_finalize()
937 symhdr->sh_size = nsyms * sizeof(Elf_Sym); in module_finalize()
/linux/include/linux/
A Dmodule.h349 Elf_Sym *symtab;
547 static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) in kallsyms_symbol_value()
/linux/kernel/livepatch/
A Dcore.c201 Elf_Sym *sym; in klp_resolve_symbols()

Completed in 55 milliseconds