Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c92 Elf_Data *symdata, *shndxdata; in print_symtab() local
128 shndxdata = 0; in print_symtab()
143 if (gelf_getsymshndx(symdata, shndxdata, ndx, in print_symtab()
158 (shndxdata == 0) && (nosymshndx == 0)) { in print_symtab()
181 ((shndxdata = elf_getdata(_scn, in print_symtab()
188 if (shndxdata && in print_symtab()
189 (gelf_getsymshndx(symdata, shndxdata, ndx, in print_symtab()
205 if (shndxdata == 0) in print_symtab()
236 (shndxdata == NULL)) { in print_symtab()
/titanic_50/usr/src/cmd/boot/symdef/
H A Dsymdef.c69 Elf_Data *symdata, *shndxdata; in main() local
100 shndxdata = NULL; in main()
102 if ((gelf_getsymshndx(symdata, shndxdata, cnt, in main()
/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c700 gelf_getsymshndx(Elf_Data *symdata, Elf_Data *shndxdata, in gelf_getsymshndx() argument
705 if (shndxdata && xshndx) { in gelf_getsymshndx()
706 EDATA_READLOCKS(shndxdata); in gelf_getsymshndx()
707 if ((ndx * sizeof (Elf32_Word)) >= shndxdata->d_size) { in gelf_getsymshndx()
709 EDATA_READUNLOCKS(shndxdata); in gelf_getsymshndx()
712 *xshndx = (((Elf32_Word *)shndxdata->d_buf)[ndx]); in gelf_getsymshndx()
713 EDATA_READUNLOCKS(shndxdata); in gelf_getsymshndx()
721 gelf_update_symshndx(Elf_Data *symdata, Elf_Data *shndxdata, in gelf_update_symshndx() argument
726 if (shndxdata) { in gelf_update_symshndx()
727 ELFWLOCK(EDATA_ELF(shndxdata)); in gelf_update_symshndx()
[all …]