Lines Matching refs:osp
219 Os_desc *osp; in pad_outfile() local
255 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in pad_outfile()
256 Shdr *shdr = osp->os_shdr; in pad_outfile()
277 oscn = osp->os_scn; in pad_outfile()
287 create_outsec(Ofl_desc *ofl, Sg_desc *sgp, Os_desc *osp, Word ptype, int shidx, in create_outsec() argument
301 osp->os_scn = scn; in create_outsec()
312 *shdr = *(osp->os_shdr); in create_outsec()
313 osp->os_shdr = shdr; in create_outsec()
332 osp->os_shdr->sh_flags &= ~(ALL_SHF_ORDER|SHF_GROUP); in create_outsec()
341 (osp->os_shdr->sh_flags & SHF_TLS) && in create_outsec()
342 (aplist_append(&ofl->ofl_ostlsseg, osp, in create_outsec()
371 Os_desc *osp; in ld_create_outfile() local
517 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_create_outfile()
523 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx3, isp) { in ld_create_outfile()
585 if (osp->os_scn == NULL) { in ld_create_outfile()
588 if (create_outsec(ofl, sgp, osp, ptype, in ld_create_outfile()
602 if ((data = elf_newdata(osp->os_scn)) == NULL) { in ld_create_outfile()
650 data = elf_newdata(osp->os_scn); in ld_create_outfile()
678 nonempty = osp; in ld_create_outfile()
686 osp->os_szoutrels = 0; in ld_create_outfile()
707 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_create_outfile()
711 if (osp == nonempty) in ld_create_outfile()
714 d = elf_getdata(osp->os_scn, NULL); in ld_create_outfile()
812 Os_desc *osp; in ld_create_outfile() local
816 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_create_outfile()
825 if (osp->os_scn == NULL) { in ld_create_outfile()
829 if ((osp->os_scn = in ld_create_outfile()
836 if ((osp->os_shdr = in ld_create_outfile()
837 elf_getshdr(osp->os_scn)) == NULL) { in ld_create_outfile()
855 sgp->sg_fscn = osp->os_scn; in ld_create_outfile()
860 if ((osp->os_outdata = in ld_create_outfile()
861 elf_getdata(osp->os_scn, NULL)) == NULL) { in ld_create_outfile()
873 osp->os_shdr->sh_addralign); in ld_create_outfile()