Lines Matching refs:sec_shdr

162 		if (shtype == sec->sec_shdr->sh_type) {
217 Word cnt = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize;
377 if (cache->sec_shdr->sh_type == SHT_SUNW_cap) {
382 *num = cache->sec_shdr->sh_size /
383 cache->sec_shdr->sh_entsize;
421 *num = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize;
457 if (cache->sec_shdr->sh_type == SHT_SUNW_syminfo) {
462 *num = cache->sec_shdr->sh_size /
463 cache->sec_shdr->sh_entsize;
509 switch (sec->sec_shdr->sh_type) {
605 symsec->sec_shdr->sh_type, 1);
609 *num = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize;
675 *num = xshndxsec->sec_shdr->sh_size / xshndxsec->sec_shdr->sh_entsize;
736 *num = versymsec->sec_shdr->sh_size / versymsec->sec_shdr->sh_entsize;
774 if (strsec->sec_shdr->sh_type == SHT_STRTAB) {
778 ((strsec->sec_shdr->sh_flags & SHF_STRINGS) != 0) &&
779 (strsec->sec_shdr->sh_entsize <= 1) &&
780 (strsec->sec_shdr->sh_addralign <= 1)) {
818 len = sec->sec_shdr->sh_size - tail_ign;
868 Word numdyn = dynsec->sec_shdr->sh_size / dynsec->sec_shdr->sh_entsize;
936 EC_WORD(strsec->sec_shdr->sh_link),
945 ins_off = strsec->sec_shdr->sh_size - tail_ign;
1010 if ((dynsec->sec_shdr->sh_type == SHT_DYNAMIC) &&
1011 (strsec->sec_shndx == dynsec->sec_shdr->sh_link)) {
1020 if (strsec->sec_shndx == dynsec->sec_shdr->sh_link)
1050 EC_WORD(strsec->sec_shdr->sh_link), strsec->sec_name);
1096 if ((dynsec->sec_shdr->sh_type == SHT_DYNAMIC) &&
1097 (strsec->sec_shndx == dynsec->sec_shdr->sh_link)) {
1106 if (strsec->sec_shndx == dynsec->sec_shdr->sh_link)
1126 EC_WORD(strsec->sec_shdr->sh_link), strsec->sec_name);
1157 if (strsec->sec_shdr->sh_type != SHT_STRTAB)