Lines Matching defs:osp

97 	Os_desc	*osp;
151 ((osp = isp->is_osdesc) != 0) &&
152 (osp->os_sgdesc->sg_phdr.p_type == PT_LOAD)) {
167 Os_desc *osp = isp->is_osdesc;
168 Word ptype = osp->os_sgdesc->sg_phdr.p_type;
208 Os_desc *osp;
222 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) {
226 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx3, isp) {
246 osp->os_name);
275 Os_desc *osp;
305 ((osp = isp->is_osdesc) != NULL) &&
306 ((sgp = osp->os_sgdesc) != NULL) &&
374 osp = RELAUX_GET_OSDESC(rsp);
381 assert(osp->os_szoutrels > 0);
382 osp->os_szoutrels -= entsize;
748 Os_desc *osp;
788 if ((osp = ld_place_section(ofl, isec, NULL, ident, NULL)) ==
796 if (!(osp->os_flags & FLG_OS_OUTREL)) {
806 osp->os_flags |= FLG_OS_OUTREL;
810 osp->os_szoutrels = rsize;
829 Os_desc *osp;
850 osp = isec->is_osdesc;
853 ofl->ofl_osinitarray = osp;
855 ofl->ofl_ospreinitarray = osp;
857 ofl->ofl_osfiniarray = osp;
883 DBG_CALL(Dbg_reloc_generate(ofl->ofl_lml, osp,
939 Os_desc *osp;
985 osp = ofl->ofl_osdynamic =
1244 if (((sgp = osp->os_sgdesc) != NULL) &&
2419 * information to be applied to the `osp' section.
2421 * If (osp == NULL) then we are creating the coalesced relocation section
2425 make_reloc(Ofl_desc *ofl, Os_desc *osp)
2448 if (osp) {
2449 size = osp->os_szoutrels;
2450 sh_flags = osp->os_shdr->sh_flags;
2452 strlen(osp->os_name) + 1)) == 0)
2455 (void) strcat(sectname, osp->os_name);
2483 if (osp) {
2499 if (osp) {
2508 for (APLIST_TRAVERSE(osp->os_relisdescs, idx, risp)) {
2521 osp->os_relosdesc = rosp;
2618 Os_desc *osp;
2641 osp = ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_data, NULL);
2642 if (osp == (Os_desc *)S_ERROR)
2645 if (!(osp->os_flags & FLG_OS_OUTREL)) {
2647 osp->os_flags |= FLG_OS_OUTREL;
2741 * ofl, osp - As passed to ld_make_strmerge().
2762 strmerge_pass1(Ofl_desc *ofl, Os_desc *osp, Str_tbl *mstrtab,
2776 (sdp->sd_isc->is_osdesc != osp))
2816 * osp - Output section descriptor
2834 ld_make_strmerge(Ofl_desc *ofl, Os_desc *osp, APlist **rel_alpp,
2858 for (APLIST_TRAVERSE(osp->os_mstrisdescs, idx, isp)) {
2924 if (strmerge_pass1(ofl, osp, mstrtab, rel_alpp, sym_alpp,
2927 if (strmerge_pass1(ofl, osp, mstrtab, rel_alpp, sym_alpp,
2953 if (ld_place_section(ofl, mstrsec, NULL, osp->os_identndx, NULL) ==
3067 for (APLIST_TRAVERSE(osp->os_mstrisdescs, idx, isp)) {
3078 DBG_CALL(Dbg_sec_genstr_compress(ofl->ofl_lml, osp->os_name, data_size,
3096 update_data_size(Os_desc *osp, ulong_t cnt)
3098 Is_desc *isec = ld_os_first_isdesc(osp);
3100 Shdr *shdr = osp->os_shdr;
3199 Os_desc *osp;
3202 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp))
3203 if ((osp->os_mstrisdescs != NULL) &&
3204 (ld_make_strmerge(ofl, osp,
3267 Os_desc *osp, *posp = 0;
3270 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) {
3271 if ((osp != posp) && osp->os_szoutrels &&
3272 (osp != ofl->ofl_osplt)) {
3273 if (make_reloc(ofl, osp) == S_ERROR)
3276 posp = osp;
3364 Os_desc *osp;
3367 osp = ofl->ofl_ossymtab;
3369 osp = ofl->ofl_osdynsym;
3371 isp = ld_os_first_isdesc(osp);