Home
last modified time | relevance | path

Searched refs:symtab (Results 1 – 5 of 5) sorted by relevance

/scripts/
Dinsert-sys-cert.c133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() argument
142 link = symtab->sh_link; in find_elf_symbol()
143 symtab_start = (void *)hdr + symtab->sh_offset; in find_elf_symbol()
144 n = symtab->sh_size / symtab->sh_entsize; in find_elf_symbol()
157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, in get_symbol_from_table() argument
169 elf_sym = find_elf_symbol(hdr, symtab, name); in get_symbol_from_table()
286 Elf_Shdr *symtab = NULL; in main() local
346 symtab = get_symbol_table(hdr); in main()
347 if (!symtab) { in main()
368 get_symbol_from_table(hdr, symtab, CERT_SYM, &cert_sym); in main()
[all …]
Drecordmcount.h191 static unsigned int get_symindex(Elf_Sym const *sym, Elf32_Word const *symtab, in get_symindex() argument
202 offset = (unsigned long)sym - (unsigned long)symtab; in get_symindex()
237 unsigned const nhdr, Elf32_Word **symtab, in find_symtab() argument
243 *symtab = NULL; in find_symtab()
248 *symtab = (void *)ehdr + relhdr->sh_offset; in find_symtab()
252 if (*symtab && *symtab_shndx) in find_symtab()
521 Elf32_Word const *symtab, in find_secsym_ndx() argument
534 if (txtndx == get_symindex(symp, symtab, symtab_shndx) in find_secsym_ndx()
619 Elf32_Word *symtab; in do_func() local
652 find_symtab(ehdr, shdr0, nhdr, &symtab, &symtab_shndx); in do_func()
[all …]
Dsorttable.h205 const Elf_Sym *symtab; in do_sort() local
314 symtab = (const Elf_Sym *)((const char *)ehdr + in do_sort()
350 sort_needed_sym - symtab, in do_sort()
/scripts/gcc-plugins/
Dgcc-common.h723 #define cgraph_n_nodes symtab->cgraph_count
724 #define cgraph_max_uid symtab->cgraph_max_uid
752 symtab->change_decl_assembler_name(decl, name); in change_decl_assembler_name()
802 return symtab->add_cgraph_insertion_hook(hook, data); in cgraph_add_function_insertion_hook()
807 symtab->remove_cgraph_insertion_hook(entry); in cgraph_remove_function_insertion_hook()
812 return symtab->add_cgraph_removal_hook(hook, data); in cgraph_add_node_removal_hook()
817 symtab->remove_cgraph_removal_hook(entry); in cgraph_remove_node_removal_hook()
822 return symtab->add_cgraph_duplication_hook(hook, data); in cgraph_add_node_duplication_hook()
827 symtab->remove_cgraph_duplication_hook(entry); in cgraph_remove_node_duplication_hook()
832 symtab->call_cgraph_duplication_hooks(node, node2); in cgraph_call_node_duplication_hooks()
[all …]
/scripts/genksyms/
Dgenksyms.c28 static struct symbol *symtab[HASH_BUCKETS]; variable
159 for (sym = symtab[h]; sym; sym = sym->hash_next) in find_symbol()
230 for (sym = symtab[h]; sym; sym = sym->hash_next) { in __add_symbol()
268 for (psym = &symtab[h]; *psym; psym = &(*psym)->hash_next) { in __add_symbol()
285 sym->hash_next = symtab[h]; in __add_symbol()
286 symtab[h] = sym; in __add_symbol()