Home
last modified time | relevance | path

Searched refs:symdata (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c66 Elf_Data *symdata; /* buffer points to symbol table */ in _elf_nlist() local
86 symdata = elf_getdata(secidx, (Elf_Data *)0); in _elf_nlist()
87 if (symdata == 0) in _elf_nlist()
89 if (symdata->d_size == 0) in _elf_nlist()
92 count = symdata->d_size / s_buf.sh_entsize; in _elf_nlist()
97 (void) gelf_getsym(symdata, (int)ii, &sym); in _elf_nlist()
/titanic_50/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c143 Elf_Data *symdata; /* buffer points to symbol table */ in _elf_nlist() local
200 if ((symdata = elf_read(fd, (long)symhdr->sh_offset, in _elf_nlist()
216 free(symdata->d_buf); in _elf_nlist()
217 free(symdata); in _elf_nlist()
227 free(symdata->d_buf); in _elf_nlist()
228 free(symdata); in _elf_nlist()
239 sym = (Elf32_Sym *) (symdata->d_buf); in _elf_nlist()
240 sym_end = sym + symdata->d_size / sizeof (Elf32_Sym); in _elf_nlist()
247 free(symdata->d_buf); in _elf_nlist()
248 free(symdata); in _elf_nlist()
[all …]
/titanic_50/usr/src/cmd/boot/symdef/
H A Dsymdef.c69 Elf_Data *symdata, *shndxdata; in main() local
97 ((symdata = elf_getdata(scn, NULL)) == NULL)) in main()
102 if ((gelf_getsymshndx(symdata, shndxdata, cnt, in main()
/titanic_50/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c92 Elf_Data *symdata, *shndxdata; in print_symtab() local
109 if ((symdata = elf_getdata(scn, NULL)) == NULL) { in print_symtab()
143 if (gelf_getsymshndx(symdata, shndxdata, ndx, in print_symtab()
189 (gelf_getsymshndx(symdata, shndxdata, ndx, in print_symtab()
/titanic_50/usr/src/cmd/dis/
H A Ddis_target.c241 Elf_Data *symdata; in construct_symtab() local
276 if ((symdata = elf_getdata(scn, NULL)) == NULL) in construct_symtab()
279 tgt->dt_symcount = symdata->d_size / gelf_fsize(tgt->dt_elf, ELF_T_SYM, in construct_symtab()
285 if (gelf_getsym(symdata, i, &(sym->se_sym)) == NULL) { in construct_symtab()
/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c700 gelf_getsymshndx(Elf_Data *symdata, Elf_Data *shndxdata, in gelf_getsymshndx() argument
703 if (gelf_getsym(symdata, ndx, symptr) == 0) in gelf_getsymshndx()
721 gelf_update_symshndx(Elf_Data *symdata, Elf_Data *shndxdata, in gelf_update_symshndx() argument
724 if (gelf_update_sym(symdata, ndx, symptr) == 0) in gelf_update_symshndx()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs3_srv.c2032 char *symdata = NULL; in rfs3_symlink() local
2106 symdata = nfscmd_convname(ca, exi, args->symlink.symlink_data, in rfs3_symlink()
2108 if (symdata == NULL) { in rfs3_symlink()
2118 error = VOP_SYMLINK(dvp, name, &va, symdata, cr, NULL, 0); in rfs3_symlink()
2174 if (symdata != NULL && symdata != args->symlink.symlink_data) in rfs3_symlink()
2175 kmem_free(symdata, MAXPATHLEN + 1); in rfs3_symlink()
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dsyms.c201 Sym *symdata; in ld_sym_nodirect() local
224 symdata = ifl->ifl_isdesc[sifshdr->sh_link]->is_indata->d_buf; in ld_sym_nodirect()
243 sym = (Sym *)(symdata + _cnt); in ld_sym_nodirect()