Lines Matching refs:shdr

52 	Shdr	*shdr = isp->is_shdr;  in set_addralign()  local
62 if ((shdr->sh_size != 0) || in set_addralign()
71 ld_lcm(osp->os_sgdesc->sg_align, shdr->sh_addralign); in set_addralign()
664 Shdr *shdr; in isp_convert_type() local
666 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL) in isp_convert_type()
668 *shdr = *isp->is_shdr; in isp_convert_type()
669 isp->is_shdr = shdr; in isp_convert_type()
670 shdr->sh_type = sh_type; in isp_convert_type()
671 return (shdr); in isp_convert_type()
740 Shdr *shdr = isp->is_shdr; in ld_place_section() local
741 Xword shflagmask, shflags = shdr->sh_flags; in ld_place_section()
775 if ((shflags & SHF_GROUP) || (shdr->sh_type == SHT_GROUP)) { in ld_place_section()
806 if (shdr->sh_type == SHT_GROUP) { in ld_place_section()
854 if (enp->ec_type && (enp->ec_type != shdr->sh_type)) in ld_place_section()
1098 (shdr->sh_type != SHT_GROUP) && in ld_place_section()
1099 (shdr->sh_type != SHT_SUNW_dof) && in ld_place_section()
1100 ((shdr->sh_type == os_shdr->sh_type) || in ld_place_section()
1102 ((shdr->sh_type == SHT_SUNW_COMDAT) && in ld_place_section()
1126 if ((shflags & SHF_TLS) && shdr->sh_size && in ld_place_section()
1227 if ((shdr->sh_type == SHT_SUNW_COMDAT) && in ld_place_section()
1228 ((shdr = isp_convert_type(isp, SHT_PROGBITS)) == NULL)) in ld_place_section()
1257 osp->os_shdr->sh_type = shdr->sh_type; in ld_place_section()
1260 osp->os_shdr->sh_flags = shdr->sh_flags; in ld_place_section()
1261 osp->os_shdr->sh_entsize = shdr->sh_entsize; in ld_place_section()
1269 if (ifl && (shdr->sh_type == SHT_PROGBITS)) { in ld_place_section()
1274 osp->os_shdr->sh_link = shdr->sh_link; in ld_place_section()
1275 if (shdr->sh_flags & SHF_INFO_LINK) in ld_place_section()
1276 osp->os_shdr->sh_info = shdr->sh_info; in ld_place_section()
1310 if ((shdr->sh_type == SHT_GROUP) && in ld_place_section()
1320 if ((shflags & SHF_TLS) && shdr->sh_size && in ld_place_section()