Lines Matching refs:ds_shdr
116 GElf_Shdr ds_shdr; member
140 tgt->dt_shnmap[*index].dm_start = scn->ds_shdr.sh_addr; in tgt_scn_init()
141 tgt->dt_shnmap[*index].dm_length = scn->ds_shdr.sh_size; in tgt_scn_init()
147 if (scn->ds_shdr.sh_type == SHT_DYNSYM && tgt->dt_symidx == 0) in tgt_scn_init()
149 else if (scn->ds_shdr.sh_type == SHT_SYMTAB) in tgt_scn_init()
763 if (gelf_getshdr(scn, &sdata.ds_shdr) == NULL) { in dis_tgt_section_iter()
770 sdata.ds_shdr.sh_name)) == NULL) { in dis_tgt_section_iter()
788 if (sdata.ds_shdr.sh_addr == 0) in dis_tgt_section_iter()
789 sdata.ds_shdr.sh_addr = tgt->dt_shnmap[idx].dm_start; in dis_tgt_section_iter()
801 return ((scn->ds_shdr.sh_type == SHT_PROGBITS) && in dis_section_istext()
802 (scn->ds_shdr.sh_flags == (SHF_ALLOC | SHF_EXECINSTR))); in dis_section_istext()
829 return (scn->ds_shdr.sh_addr); in dis_section_addr()