Lines Matching refs:sgp1
2446 Sg_desc *sgp1;
2460 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2461 if (sgp1->sg_id >= SGID_TEXT)
2464 if (aplist_append(&sort_segs, sgp1, nsegs) == NULL)
2473 for (APLIST_TRAVERSE(ofl->ofl_segs_order, idx1, sgp1)) {
2474 if (aplist_append(&sort_segs, sgp1, nsegs) == NULL)
2476 sgp1->sg_flags |= FLG_SG_ORDERED;
2483 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2485 ld_targ.t_m.m_mach, sgp1));
2488 if ((sgp1->sg_phdr.p_type != PT_LOAD) ||
2489 (sgp1->sg_flags & FLG_SG_ORDERED))
2496 if ((sgp1->sg_flags & FLG_SG_P_VADDR) == 0) {
2497 if (aplist_append(&load_segs, sgp1, AL_CNT_SEGMENTS) ==
2520 (sgp1->sg_flags & FLG_SG_EMPTY))
2525 (sgp1->sg_flags & FLG_SG_EMPTY))) {
2526 if (sgp1->sg_phdr.p_vaddr ==
2530 sgp1->sg_name,
2535 if (sgp1->sg_phdr.p_vaddr >
2544 if (aplist_insert(&load_segs, sgp1,
2556 sgp1, AL_CNT_SEGMENTS) == NULL))
2564 for (APLIST_TRAVERSE(load_segs, idx1, sgp1)) {
2565 if (aplist_append(&sort_segs, sgp1, AL_CNT_SEGMENTS) == NULL)
2572 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2573 if ((sgp1->sg_id < SGID_TEXT) ||
2574 (sgp1->sg_phdr.p_type == PT_LOAD) ||
2575 (sgp1->sg_flags & FLG_SG_ORDERED))
2578 if (aplist_append(&sort_segs, sgp1, AL_CNT_SEGMENTS) == NULL)
2592 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2594 ld_targ.t_m.m_mach, sgp1);