Home
last modified time | relevance | path

Searched refs:c_shdr (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c230 if (strsec->c_shdr->sh_type != SHT_STRTAB) { in string()
313 Shdr *shdr = cache[ndx].c_shdr; in stringtbl()
334 shdr = cache[ndx].c_shdr; in stringtbl()
406 shdr = symtab->c_shdr; in symlookup()
470 Shdr *shdr = _cache->c_shdr; in sections()
566 Shdr *shdr = _cache->c_shdr; in unwind_eh_frame()
579 gotaddr = cache[cnt].c_shdr->sh_addr; in unwind_eh_frame()
818 Addr exc_addr = _cache->c_shdr->sh_addr; in unwind_exception_ranges()
877 if (phdr->pfield != cache->c_shdr->sfield) { \ in check_phdr_v_shdr()
886 cache->c_shdr->sfield, \ in check_phdr_v_shdr()
[all …]
H A D_elfdump.h106 Shdr *c_shdr; member
H A Dfake_shdr.c1510 _cache->c_shdr = sinfo->shdr; in fake_shdr_cache()
1523 _cache->c_shdr = sinfo->shdr; in fake_shdr_cache()
1554 if (_cache->c_shdr) in fake_shdr_cache_free()
1555 free(_cache->c_shdr); in fake_shdr_cache_free()
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c362 if ((_icache->c_shdr = shdr = elf_getshdr(scn)) == NULL) { in rt_dldump()
440 _icache->c_shdr = 0; in rt_dldump()
456 if ((shdr = _icache->c_shdr) == 0) in rt_dldump()
487 if ((shdr = _icache->c_shdr) == 0) in rt_dldump()
612 *shdr = *_icache->c_shdr; in rt_dldump()
673 shdr->sh_addr = data_cache->c_shdr->sh_addr + in rt_dldump()
674 data_cache->c_shdr->sh_size; in rt_dldump()
781 if ((_mcache->c_shdr = elf_getshdr(scn)) == NULL) { in rt_dldump()
811 shdr = _mcache->c_shdr; in rt_dldump()
H A Drelocate.c68 shdr = _cache->c_shdr; in count_reloc()
85 shdr = __cache->c_shdr; in count_reloc()
436 shdr = _icache->c_shdr;
492 shdr = _icache->c_shdr;
510 off = rel->r_offset - ircache->c_shdr->sh_addr;
H A Dsyms.c53 shdr = _cache->c_shdr; in update_sym()
89 shdr = _cache->c_shdr; in syminfo()
H A D_librtld.h45 Shdr *c_shdr; member
H A Ddynamic.c52 __cache = &cache[_cache->c_shdr->sh_link]; in update_dynamic()
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab.c1840 GElf_Shdr c_shdr; in Pbuild_file_symtab() member
1980 if (gelf_getshdr(scn, &cp->c_shdr) == NULL) { in Pbuild_file_symtab()
1992 if (cp->c_shdr.sh_name >= shdata->d_size) { in Pbuild_file_symtab()
1997 cp->c_name = (const char *)shdata->d_buf + cp->c_shdr.sh_name; in Pbuild_file_symtab()
2006 GElf_Shdr *shp = &cp->c_shdr; in Pbuild_file_symtab()
2031 symp->sym_hdr_pri = cp->c_shdr; in Pbuild_file_symtab()
2032 symp->sym_strhdr = cache[shp->sh_link].c_shdr; in Pbuild_file_symtab()
2047 fptr->file_dynsym.sym_hdr_aux = cp->c_shdr; in Pbuild_file_symtab()
2063 (cache[shp->sh_link].c_shdr.sh_type != SHT_DYNSYM && in Pbuild_file_symtab()
2064 cache[shp->sh_link].c_shdr.sh_type != SHT_SYMTAB)) { in Pbuild_file_symtab()
[all …]