Searched refs:symsect (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 122 ctf_sect_t ctfsect, symsect, strsect; in ctf_modopen() local 137 symsect.cts_name = ".symtab"; in ctf_modopen() 138 symsect.cts_type = SHT_SYMTAB; in ctf_modopen() 139 symsect.cts_flags = 0; in ctf_modopen() 140 symsect.cts_data = mp->symtbl; in ctf_modopen() 141 symsect.cts_size = mp->symhdr->sh_size; in ctf_modopen() 143 symsect.cts_entsize = sizeof (Elf64_Sym); in ctf_modopen() 145 symsect.cts_entsize = sizeof (Elf32_Sym); in ctf_modopen() 147 symsect.cts_offset = 0; in ctf_modopen() 159 if ((fp = ctf_bufopen(&ctfsect, &symsect, &strsect, error)) == NULL) in ctf_modopen()
|
/titanic_41/usr/src/common/ctf/ |
H A D | ctf_open.c | 544 ctf_bufopen(const ctf_sect_t *ctfsect, const ctf_sect_t *symsect, in ctf_bufopen() argument 554 if (ctfsect == NULL || ((symsect == NULL) != (strsect == NULL))) in ctf_bufopen() 557 if (symsect != NULL && symsect->cts_entsize != sizeof (Elf32_Sym) && in ctf_bufopen() 558 symsect->cts_entsize != sizeof (Elf64_Sym)) in ctf_bufopen() 561 if (symsect != NULL && symsect->cts_data == NULL) in ctf_bufopen() 685 if (symsect != NULL) { in ctf_bufopen() 686 bcopy(symsect, &fp->ctf_symtab, sizeof (ctf_sect_t)); in ctf_bufopen() 733 if (symsect != NULL) { in ctf_bufopen() 734 fp->ctf_nsyms = symsect->cts_size / symsect->cts_entsize; in ctf_bufopen() 742 if ((err = init_symtab(fp, &hp, symsect, strsect)) != 0) { in ctf_bufopen() [all …]
|
/titanic_41/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 194 ctf_sect_t ctfsect, symsect, strsect; in ctf_fdopen() local 208 bzero(&symsect, sizeof (ctf_sect_t)); in ctf_fdopen() 382 symsect.cts_name = strs + shp->sh_name; in ctf_fdopen() 383 symsect.cts_type = shp->sh_type; in ctf_fdopen() 384 symsect.cts_flags = shp->sh_flags; in ctf_fdopen() 385 symsect.cts_size = shp->sh_size; in ctf_fdopen() 386 symsect.cts_entsize = shp->sh_entsize; in ctf_fdopen() 387 symsect.cts_offset = (off64_t)shp->sh_offset; in ctf_fdopen() 414 if (symsect.cts_type != SHT_NULL && in ctf_fdopen() 416 if (ctf_sect_mmap(&symsect, fd) == MAP_FAILED || in ctf_fdopen() [all …]
|