Home
last modified time | relevance | path

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

/tools/objtool/
Dorc_dump.c75 Elf_Data *data, *symtab = NULL, *rela_orc_ip = NULL; in orc_dump() local
129 symtab = data; in orc_dump()
143 if (!symtab || !strtab_idx || !orc || !orc_ip) in orc_dump()
159 if (!gelf_getsym(symtab, GELF_R_SYM(rela.r_info), &sym)) { in orc_dump()
Delf.c209 struct section *symtab, *sec; in read_symbols() local
215 symtab = find_section_by_name(elf, ".symtab"); in read_symbols()
216 if (!symtab) { in read_symbols()
224 symbols_nr = symtab->sh.sh_size / symtab->sh.sh_entsize; in read_symbols()
237 if (!gelf_getsym(symtab->data, i, &sym->sym)) { in read_symbols()
242 sym->name = elf_strptr(elf->elf, symtab->sh.sh_link, in read_symbols()
/tools/testing/selftests/vDSO/
Dparse_vdso.c70 ELF(Sym) *symtab;
136 vdso_info.symtab = 0; in vdso_init_from_sysinfo_ehdr()
147 vdso_info.symtab = (ELF(Sym) *) in vdso_init_from_sysinfo_ehdr()
168 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr()
232 ELF(Sym) *sym = &vdso_info.symtab[chain]; in vdso_sym()
/tools/perf/util/
Dsymsrc.h28 Elf_Scn *symtab; member
Dgenelf.c90 static Elf_Sym symtab[]={ variable
389 symtab[1].st_size = csize; in jit_write_elf()
390 symtab[1].st_value = GEN_ELF_TEXT_OFFSET; in jit_write_elf()
406 d->d_buf = symtab; in jit_write_elf()
408 d->d_size = sizeof(symtab); in jit_write_elf()
Dsymbol-elf.c724 return ss->symtab != NULL; in symsrc__has_symtab()
796 ss->symtab = elf_section_by_name(elf, &ehdr, &ss->symshdr, ".symtab", in symsrc__init()
799 ss->symtab = NULL; in symsrc__init()
1008 if (kmodule && syms_ss->symtab) in dso__load_sym()
1011 if (!syms_ss->symtab) { in dso__load_sym()
1020 syms_ss->symtab = syms_ss->dynsym; in dso__load_sym()
1026 sec = syms_ss->symtab; in dso__load_sym()
/tools/perf/Documentation/
Dperf-top.txt113 --dump-symtab::