Lines Matching refs:sgp
1490 Sg_desc *sgp; in dir_phdr_add_null() local
1504 if ((sgp = ld_map_seg_alloc(NULL, PT_NULL, in dir_phdr_add_null()
1507 if (ld_map_seg_insert(mf, DBG_STATE_NEW, sgp, 0) == in dir_phdr_add_null()
1523 Sg_desc *sgp = uvalue; in at_seg_align() local
1530 sgp->sg_phdr.p_align = tkv.tkv_int.tkvi_value; in at_seg_align()
1531 sgp->sg_flags |= FLG_SG_P_ALIGN; in at_seg_align()
1878 Sg_desc *sgp = uvalue; in at_seg_assign() local
1901 if ((enp = ld_map_seg_ent_add(mf, sgp, name)) == NULL) in at_seg_assign()
1943 Sg_desc *sgp = uvalue; in at_seg_disable() local
1946 if (sgp->sg_flags & FLG_SG_NODISABLE) { in at_seg_disable()
1947 mf_fatal(mf, MSG_INTL(MSG_MAP_CNTDISSEG), sgp->sg_name); in at_seg_disable()
1952 sgp->sg_flags |= FLG_SG_DISABLED; in at_seg_disable()
1971 Sg_desc *sgp = uvalue; in at_seg_flags() local
1979 setflags_eq(&sgp->sg_phdr.p_flags, eq_tok, flags); in at_seg_flags()
1980 sgp->sg_flags |= FLG_SG_P_FLAGS; in at_seg_flags()
1992 Sg_desc *sgp = uvalue; in at_seg_is_order() local
2005 aplist_reset(sgp->sg_is_order); in at_seg_is_order()
2030 for (APLIST_TRAVERSE(sgp->sg_is_order, idx, enp2)) in at_seg_is_order()
2039 if (aplist_append(&sgp->sg_is_order, enp, in at_seg_is_order()
2066 Sg_desc *sgp = uvalue; in at_seg_max_size() local
2073 sgp->sg_length = tkv.tkv_int.tkvi_value; in at_seg_max_size()
2074 sgp->sg_flags |= FLG_SG_LENGTH; in at_seg_max_size()
2087 Sg_desc *sgp = uvalue; in at_seg_nohdr() local
2099 sgp->sg_flags |= FLG_SG_NOHDR; in at_seg_nohdr()
2112 Sg_desc *sgp = uvalue; in at_seg_os_order() local
2123 alist_reset(sgp->sg_os_order); in at_seg_os_order()
2134 if (!ld_map_seg_os_order_add(mf, sgp, tkv.tkv_str)) in at_seg_os_order()
2160 Sg_desc *sgp = uvalue, *sgp2; in at_seg_paddr() local
2168 if (sgp == sgp2) { in at_seg_paddr()
2170 MSG_INTL(MSG_MAP_CNTADDRORDER), sgp->sg_name); in at_seg_paddr()
2178 sgp->sg_phdr.p_paddr = tkv.tkv_int.tkvi_value; in at_seg_paddr()
2179 sgp->sg_flags |= FLG_SG_P_PADDR; in at_seg_paddr()
2192 Sg_desc *sgp = uvalue; in at_seg_round() local
2199 sgp->sg_round = tkv.tkv_int.tkvi_value; in at_seg_round()
2200 sgp->sg_flags |= FLG_SG_ROUND; in at_seg_round()
2213 Sg_desc *sgp = uvalue; in at_seg_size_symbol() local
2228 if (!ld_map_seg_size_symbol(mf, sgp, eq_tok, in at_seg_size_symbol()
2272 Sg_desc *sgp = uvalue, *sgp2; in at_seg_vaddr() local
2280 if (sgp == sgp2) { in at_seg_vaddr()
2282 MSG_INTL(MSG_MAP_CNTADDRORDER), sgp->sg_name); in at_seg_vaddr()
2290 sgp->sg_phdr.p_vaddr = tkv.tkv_int.tkvi_value; in at_seg_vaddr()
2291 sgp->sg_flags |= FLG_SG_P_VADDR; in at_seg_vaddr()
2323 Sg_desc *sgp; in dir_segment_inner() local
2331 sgp = ld_seg_lookup(mf->mf_ofl, tkv.tkv_str, &where); in dir_segment_inner()
2332 new_segment = (sgp == NULL); in dir_segment_inner()
2336 if ((sgp = ld_map_seg_alloc(tkv.tkv_str, seg_type, in dir_segment_inner()
2341 if (sgp->sg_phdr.p_type != seg_type) { in dir_segment_inner()
2346 sgp->sg_phdr.p_type, CONV_FMT_ALT_CF, &inv_buf), in dir_segment_inner()
2352 sgp->sg_flags &= ~FLG_SG_DISABLED; in dir_segment_inner()
2359 ndx = ld_map_seg_index(mf, sgp); in dir_segment_inner()
2361 ndx, sgp, mf->mf_lineno)); in dir_segment_inner()
2377 attr_list, attr_list_bufsize, sgp) == TK_ERROR) in dir_segment_inner()
2393 if (ld_map_seg_insert(mf, DBG_STATE_NEW, sgp, where) == in dir_segment_inner()
2399 ndx, sgp, mf->mf_lineno)); in dir_segment_inner()
2564 Sg_desc *sgp, *sgp2; in dir_segment_order() local
2593 sgp = ld_seg_lookup(mf->mf_ofl, tkv.tkv_str, NULL); in dir_segment_order()
2594 if (sgp == NULL) { in dir_segment_order()
2605 if (sgp == sgp2) { in dir_segment_order()
2617 if (sgp->sg_flags & (FLG_SG_P_PADDR | FLG_SG_P_VADDR)) { in dir_segment_order()
2619 sgp->sg_name); in dir_segment_order()
2625 if (aplist_append(&mf->mf_ofl->ofl_segs_order, sgp, in dir_segment_order()
2672 Sg_desc *sgp; in dir_stack() local
2681 sgp = ld_map_seg_stack(mf); in dir_stack()
2685 attr_list, attr_list_bufsize, sgp) == TK_ERROR) in dir_stack()
2694 Xword ndx = ld_map_seg_index(mf, sgp); in dir_stack()
2696 Dbg_map_seg(mf->mf_ofl, DBG_STATE_MOD_AFTER, ndx, sgp, in dir_stack()