Lines Matching refs:ofl

50 set_addralign(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp)  in set_addralign()  argument
66 if ((ofl->ofl_dtflags_1 & DF_1_NOHDR) && in set_addralign()
113 os_attach_isp(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp, int mapfile_sort) in os_attach_isp() argument
190 ((ofl->ofl_flags1 & FLG_OF1_NCSTTAB) != 0) || in os_attach_isp()
211 DBG_CALL(Dbg_sec_unsup_strmerge(ofl->ofl_lml, isp)); in os_attach_isp()
236 add_comdat(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp) in add_comdat() argument
249 ((gr = ld_get_group(ofl, isp)) != NULL) && in add_comdat()
280 DBG_CALL(Dbg_sec_discarded(ofl->ofl_lml, isp, in add_comdat()
453 ld_place_path_info_init(Ofl_desc *ofl, Ifl_desc *ifl, Place_path_info *info) in ld_place_path_info_init() argument
460 if ((ifl == NULL) || !(ofl->ofl_flags & FLG_OF_EC_FILES)) in ld_place_path_info_init()
607 eh_frame_muldef(Ofl_desc *ofl, Is_desc *isp) in eh_frame_muldef() argument
619 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in eh_frame_muldef()
631 ld_eprintf(ofl, ERR_FATAL, in eh_frame_muldef()
660 ld_place_section(Ofl_desc *ofl, Is_desc *isp, Place_path_info *path_info, in ld_place_section() argument
693 DBG_CALL(Dbg_sec_in(ofl->ofl_lml, isp)); in ld_place_section()
703 if ((gdesc = ld_get_group(ofl, isp)) != NULL) { in ld_place_section()
704 DBG_CALL(Dbg_sec_group(ofl->ofl_lml, isp, gdesc)); in ld_place_section()
722 if (!(ofl->ofl_flags1 & FLG_OF1_RLXREL)) in ld_place_section()
732 if ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) { in ld_place_section()
753 for (APLIST_TRAVERSE(ofl->ofl_ents, idx1, enp)) { in ld_place_section()
851 if (((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) || in ld_place_section()
860 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section()
887 if ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) { in ld_place_section()
890 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, in ld_place_section()
901 if ((ofl->ofl_flags1 & FLG_OF1_NRLXREL) == 0) in ld_place_section()
902 ofl->ofl_flags1 |= FLG_OF1_RLXREL; in ld_place_section()
903 DBG_CALL(Dbg_sec_gnu_comdat(ofl->ofl_lml, isp, TRUE, in ld_place_section()
904 (ofl->ofl_flags1 & FLG_OF1_RLXREL) != 0)); in ld_place_section()
921 if ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) { in ld_place_section()
926 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section()
933 if ((ofl->ofl_flags1 & FLG_OF1_NRLXREL) == 0) { in ld_place_section()
934 ofl->ofl_flags1 |= FLG_OF1_RLXREL; in ld_place_section()
935 DBG_CALL(Dbg_sec_gnu_comdat(ofl->ofl_lml, isp, in ld_place_section()
980 (ofl->ofl_flags & FLG_OF_RELOBJ) ? ALL_SHF_ORDER : ALL_SHF_IGNORE; in ld_place_section()
1026 ((err = add_comdat(ofl, osp, isp)) != 1)) in ld_place_section()
1032 set_addralign(ofl, osp, isp); in ld_place_section()
1039 ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0)) in ld_place_section()
1040 ofl->ofl_flags |= FLG_OF_TLSPHDR; in ld_place_section()
1052 if (os_attach_isp(ofl, osp, isp, in ld_place_section()
1074 DBG_CALL(Dbg_sec_added(ofl->ofl_lml, osp, sgp)); in ld_place_section()
1121 ofl->ofl_flags |= FLG_OF_ADJOSCNT; in ld_place_section()
1122 ofl->ofl_shdrcnt++; in ld_place_section()
1123 if (st_insert(ofl->ofl_shdrsttab, oname) == -1) in ld_place_section()
1143 (add_comdat(ofl, osp, isp) == S_ERROR)) in ld_place_section()
1153 if ((ofl->ofl_flags & FLG_OF_EHFRAME) && in ld_place_section()
1154 !(ofl->ofl_flags & FLG_OF_RELOBJ)) { in ld_place_section()
1155 eh_frame_muldef(ofl, isp); in ld_place_section()
1158 ofl->ofl_flags |= FLG_OF_EHFRAME; in ld_place_section()
1201 if (ifl && ((ofl->ofl_flags1 & FLG_OF1_IGNPRC) || DBG_ENABLED)) { in ld_place_section()
1224 (aplist_append(&ofl->ofl_osgroups, osp, in ld_place_section()
1233 ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0)) in ld_place_section()
1234 ofl->ofl_flags |= FLG_OF_TLSPHDR; in ld_place_section()
1244 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_SCN_NONALLOC), in ld_place_section()
1245 ofl->ofl_name, osp->os_name, sgp->sg_name); in ld_place_section()
1260 set_addralign(ofl, osp, isp); in ld_place_section()
1262 if (os_attach_isp(ofl, osp, isp, 0) == 0) in ld_place_section()
1265 DBG_CALL(Dbg_sec_created(ofl->ofl_lml, osp, sgp)); in ld_place_section()