Lines Matching refs:sgp

190 	Sg_desc		*sgp;  in pad_outfile()  local
217 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in pad_outfile()
218 Phdr *phdr = &(sgp->sg_phdr); in pad_outfile()
255 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in pad_outfile()
287 create_outsec(Ofl_desc *ofl, Sg_desc *sgp, Os_desc *osp, Word ptype, int shidx, in create_outsec() argument
320 sgp->sg_fscn = scn; in create_outsec()
370 Sg_desc *sgp; in ld_create_outfile() local
428 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in ld_create_outfile()
430 Phdr *phdr = &(sgp->sg_phdr); in ld_create_outfile()
482 if ((sgp->sg_flags & FLG_SG_DISABLED) == 0) in ld_create_outfile()
484 } else if (sgp->sg_flags & FLG_SG_EMPTY) { in ld_create_outfile()
486 } else if (aplist_nitems(sgp->sg_osdescs) != 0) { in ld_create_outfile()
487 if ((sgp->sg_flags & FLG_SG_PHREQ) == 0) { in ld_create_outfile()
493 ptype = (sgp->sg_phdr).p_type = PT_NULL; in ld_create_outfile()
517 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_create_outfile()
588 if (create_outsec(ofl, sgp, osp, ptype, in ld_create_outfile()
613 data->d_align = sgp->sg_align; in ld_create_outfile()
664 (sgp->sg_flags & FLG_SG_ROUND)) { in ld_create_outfile()
670 sgp->sg_round); in ld_create_outfile()
672 align = sgp->sg_round; in ld_create_outfile()
707 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_create_outfile()
810 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in ld_create_outfile()
811 Phdr *_phdr = &(sgp->sg_phdr); in ld_create_outfile()
816 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_create_outfile()
826 aplist_delete(sgp->sg_osdescs, &idx2); in ld_create_outfile()
842 if ((fixalign == TRUE) && sgp->sg_fscn && in ld_create_outfile()
847 scn = sgp->sg_fscn; in ld_create_outfile()
855 sgp->sg_fscn = osp->os_scn; in ld_create_outfile()