Home
last modified time | relevance | path

Searched refs:gsym (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/sgs/prof/common/
H A Drdelf.c305 GElf_Sym gsym; in fetch_symtab() local
315 (void) gelf_getsym(symdata_pri, i - nsyms_aux, &gsym); in fetch_symtab()
317 (void) gelf_getsym(symdata_aux, i, &gsym); in fetch_symtab()
319 name = elf_strptr(elf, strndx, gsym.st_name); in fetch_symtab()
324 if (is_function(elf, &gsym)) { in fetch_symtab()
327 npe->value = gsym.st_value; in fetch_symtab()
328 npe->size = gsym.st_size; in fetch_symtab()
329 npe->info = gsym.st_info; in fetch_symtab()
336 module->data_end = gsym.st_value; in fetch_symtab()
/titanic_41/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c537 GElf_Sym gsym; in get_symtab() local
547 (void) gelf_getsym(symdata_pri, i - nsyms_aux, &gsym); in get_symtab()
549 (void) gelf_getsym(symdata_aux, i, &gsym); in get_symtab()
551 name = elf_strptr(elf, strndx, gsym.st_name); in get_symtab()
557 if (is_function(elf, &gsym) || strcmp(name, PRF_ETEXT) == 0) { in get_symtab()
560 l_npe->value = gsym.st_value; in get_symtab()
561 l_npe->sz = gsym.st_size; in get_symtab()
562 l_npe->syminfo = gsym.st_info; in get_symtab()
569 GELF_ST_BIND(gsym.st_info) == STB_LOCAL) { in get_symtab()
586 module->data_end = gsym.st_value; in get_symtab()
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dps.c282 GElf_Sym gsym; in ps_pglobal_sym() local
287 if (str_map_sym(sym_name, mip, &gsym, NULL) == RET_FAILED) in ps_pglobal_sym()
291 *symp = gsym; in ps_pglobal_sym()
293 gelf_sym_to_elf32(&gsym, (Elf32_Sym *)symp); in ps_pglobal_sym()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_evset.c530 GElf_Sym gsym; in cmd_wp() local
559 sizeof (buf), &gsym) == -1) { in cmd_wp()
564 if (gsym.st_size == 0) { in cmd_wp()
569 size = gsym.st_size; in cmd_wp()
H A Dmdb_modapi.c852 mdb_symbol_cb(void *data, const GElf_Sym *gsym, const char *name, in mdb_symbol_cb() argument
864 sym.sym_sym = gsym; in mdb_symbol_cb()
/titanic_41/usr/src/cmd/sgs/rtld/mdbmod/common/
H A Drtld.c527 GElf_Sym gsym; in dcmd_Rtmaps() local
561 MSG_ORIG(MSG_STR_DYNLMLIST), &gsym) == -1) { in dcmd_Rtmaps()
567 (uintptr_t)gsym.st_value) == -1) { in dcmd_Rtmaps()
569 gsym.st_value); in dcmd_Rtmaps()
940 GElf_Sym gsym; in dcmd_Lm_list() local
954 MSG_ORIG(MSG_STR_DYNLMLIST), &gsym) == -1) { in dcmd_Lm_list()
960 (uintptr_t)gsym.st_value) == -1) { in dcmd_Lm_list()
962 gsym.st_value); in dcmd_Lm_list()