Home
last modified time | relevance | path

Searched refs:symptr (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dsyms.c53 str_map_sym(const char *symname, map_info_t *mp, GElf_Sym *symptr, char **str) in str_map_sym() argument
81 *symptr = sym; in str_map_sym()
83 *str = (char *)strs + symptr->st_name; in str_map_sym()
85 symptr->st_value += (GElf_Addr)(mp->mi_addr); in str_map_sym()
124 addr_map_sym(map_info_t *mp, ulong_t addr, GElf_Sym *symptr, char **str) in addr_map_sym() argument
201 *symptr = *symr; in addr_map_sym()
202 *str = (char *)(symp->st_strs + symptr->st_name); in addr_map_sym()
203 symptr->st_value += baseaddr; in addr_map_sym()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dupdate.c993 Sym *symptr; in update_osym() local
1042 symptr = sdp->sd_sym; in update_osym()
1046 (sdp->sd_shndx = symptr->st_shndx) == SHN_COMMON)) { in update_osym()
1058 symptr->st_value = (Xword) S_ROUND( in update_osym()
1059 parexpnaddr, symptr->st_value); in update_osym()
1060 parexpnaddr = symptr->st_value + in update_osym()
1061 symptr->st_size; in update_osym()
1065 } else if (ELF_ST_TYPE(symptr->st_info) != STT_TLS && in update_osym()
1070 symptr->st_value = (Xword)S_ROUND(bssaddr, in update_osym()
1071 symptr->st_value); in update_osym()
[all …]
/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c701 int ndx, GElf_Sym *symptr, Elf32_Word *xshndx) in gelf_getsymshndx() argument
703 if (gelf_getsym(symdata, ndx, symptr) == 0) in gelf_getsymshndx()
717 return (symptr); in gelf_getsymshndx()
722 int ndx, GElf_Sym *symptr, Elf32_Word xshndx) in gelf_update_symshndx() argument
724 if (gelf_update_sym(symdata, ndx, symptr) == 0) in gelf_update_symshndx()