Lines Matching refs:ofl

881  *	ofl - Output file descriptor
2150 * ofl - Output file descriptor
2269 ld_map_parse(const char *mapfile, Ofl_desc *ofl)
2282 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_STAT), mapfile,
2308 if (!ld_map_parse(path, ofl))
2314 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_NOTREG), mapfile);
2321 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_OPEN), mapfile,
2335 mf->mf_ofl = ofl;
2342 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_READ), mapfile,
2368 DBG_CALL(Dbg_map_parse(ofl->ofl_lml, mapfile, mf->mf_version));
2373 if (OFL_GUIDANCE(ofl, FLG_OFG_NO_MF))
2374 ld_eprintf(ofl, ERR_GUIDANCE,
2443 sort_seg_list(Ofl_desc *ofl)
2456 nsegs = aplist_nitems(ofl->ofl_segs);
2460 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2473 for (APLIST_TRAVERSE(ofl->ofl_segs_order, idx1, sgp1)) {
2482 DBG_CALL(Dbg_map_sort_title(ofl->ofl_lml, TRUE));
2483 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2484 DBG_CALL(Dbg_map_sort_seg(ofl->ofl_lml, ELFOSABI_SOLARIS,
2528 ld_eprintf(ofl, ERR_FATAL,
2572 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2586 free(ofl->ofl_segs);
2588 ofl->ofl_segs = sort_segs;
2591 Dbg_map_sort_title(ofl->ofl_lml, FALSE);
2592 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp1)) {
2593 Dbg_map_sort_seg(ofl->ofl_lml, ELFOSABI_SOLARIS,
2609 ld_map_post_process(Ofl_desc *ofl)
2618 DBG_CALL(Dbg_map_post_title(ofl->ofl_lml));
2625 for (APLIST_TRAVERSE(ofl->ofl_segs, idx, sgp)) {
2644 ofl->ofl_flags1 |= FLG_OF1_VADDR;
2652 ofl->ofl_flags |= FLG_OF_OS_ORDER;
2705 ofl->ofl_flags |= FLG_OF_IS_ORDER;
2706 DBG_CALL(Dbg_map_ent_ord_title(ofl->ofl_lml,
2714 for (APLIST_TRAVERSE(ofl->ofl_ents, idx2, enp))
2726 ofl->ofl_flags |= FLG_OF_IS_ORDER;
2727 DBG_CALL(Dbg_map_ent_ord_title(ofl->ofl_lml,
2742 if (((ofl->ofl_flags1 & FLG_OF1_VADDR) ||
2743 (aplist_nitems(ofl->ofl_segs_order) > 0)) &&
2744 !sort_seg_list(ofl))
2752 if (!(ofl->ofl_flags & (FLG_OF_DYNAMIC | FLG_OF_RELOBJ)) &&
2753 !(ofl->ofl_osinterp) && (ofl->ofl_flags1 & FLG_OF1_VADDR))
2754 ofl->ofl_dtflags_1 |= DF_1_NOHDR;
2756 if (ofl->ofl_flags & FLG_OF_RELOBJ) {
2761 ofl->ofl_dtflags_1 &= ~DF_1_NOHDR;
2769 if ((ofl->ofl_dtflags_1 & DF_1_NOHDR) == 0) {
2774 if ((ofl->ofl_flags1 & FLG_OF1_VADDR) ||
2775 (aplist_nitems(ofl->ofl_segs_order) > 0)) {
2776 for (APLIST_TRAVERSE(ofl->ofl_segs, idx, sgp)) {
2792 ofl->ofl_dtflags_1 |= DF_1_NOHDR;
2802 if (!(ofl->ofl_dtflags_1 & DF_1_NOHDR) &&
2806 ld_eprintf(ofl, ERR_FATAL,
2825 if (ofl->ofl_maptext || ofl->ofl_mapdata)
2826 DBG_CALL(Dbg_sec_backing(ofl->ofl_lml));
2828 for (APLIST_TRAVERSE(ofl->ofl_maptext, idx, isp)) {
2829 if (ld_place_section(ofl, isp, NULL,
2834 for (APLIST_TRAVERSE(ofl->ofl_mapdata, idx, isp)) {
2835 if (ld_place_section(ofl, isp, NULL,