Lines Matching refs:ofl

51 set_addralign(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp)  in set_addralign()  argument
67 if ((ofl->ofl_dtflags_1 & DF_1_NOHDR) && in set_addralign()
114 os_attach_isp(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp, int mapfile_sort) in os_attach_isp() argument
191 ((ofl->ofl_flags1 & FLG_OF1_NCSTTAB) != 0) || in os_attach_isp()
212 DBG_CALL(Dbg_sec_unsup_strmerge(ofl->ofl_lml, isp)); in os_attach_isp()
237 add_comdat(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp) in add_comdat() argument
250 ((gr = ld_get_group(ofl, isp)) != NULL) && in add_comdat()
281 DBG_CALL(Dbg_sec_discarded(ofl->ofl_lml, isp, in add_comdat()
526 ld_place_path_info_init(Ofl_desc *ofl, Ifl_desc *ifl, Place_path_info *info) in ld_place_path_info_init() argument
533 if ((ifl == NULL) || !(ofl->ofl_flags & FLG_OF_EC_FILES)) in ld_place_path_info_init()
680 eh_frame_muldef(Ofl_desc *ofl, Is_desc *isp) in eh_frame_muldef() argument
692 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in eh_frame_muldef()
704 ld_eprintf(ofl, ERR_FATAL, in eh_frame_muldef()
808 ld_place_section(Ofl_desc *ofl, Is_desc *isp, Place_path_info *path_info, in ld_place_section() argument
846 DBG_CALL(Dbg_sec_in(ofl->ofl_lml, isp)); in ld_place_section()
856 if ((gdesc = ld_get_group(ofl, isp)) != NULL) { in ld_place_section()
857 DBG_CALL(Dbg_sec_group(ofl->ofl_lml, isp, gdesc)); in ld_place_section()
875 if (!(ofl->ofl_flags1 & FLG_OF1_RLXREL)) in ld_place_section()
885 if ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) { in ld_place_section()
906 for (APLIST_TRAVERSE(ofl->ofl_ents, idx1, enp)) { in ld_place_section()
1004 if (((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) || in ld_place_section()
1013 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section()
1040 if ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) { in ld_place_section()
1043 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, in ld_place_section()
1054 if ((ofl->ofl_flags1 & FLG_OF1_NRLXREL) == 0) in ld_place_section()
1055 ofl->ofl_flags1 |= FLG_OF1_RLXREL; in ld_place_section()
1056 DBG_CALL(Dbg_sec_gnu_comdat(ofl->ofl_lml, isp, TRUE, in ld_place_section()
1057 (ofl->ofl_flags1 & FLG_OF1_RLXREL) != 0)); in ld_place_section()
1074 if ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) { in ld_place_section()
1079 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section()
1086 if ((ofl->ofl_flags1 & FLG_OF1_NRLXREL) == 0) { in ld_place_section()
1087 ofl->ofl_flags1 |= FLG_OF1_RLXREL; in ld_place_section()
1088 DBG_CALL(Dbg_sec_gnu_comdat(ofl->ofl_lml, isp, in ld_place_section()
1100 if (((ofl->ofl_flags & FLG_OF_RELOBJ) == 0) && in ld_place_section()
1103 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section()
1146 (ofl->ofl_flags & FLG_OF_RELOBJ) ? ALL_SHF_ORDER : ALL_SHF_IGNORE; in ld_place_section()
1219 ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0)) && in ld_place_section()
1235 ((err = add_comdat(ofl, osp, isp)) != 1)) in ld_place_section()
1241 set_addralign(ofl, osp, isp); in ld_place_section()
1248 ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0)) in ld_place_section()
1249 ofl->ofl_flags |= FLG_OF_TLSPHDR; in ld_place_section()
1261 if (os_attach_isp(ofl, osp, isp, in ld_place_section()
1283 DBG_CALL(Dbg_sec_added(ofl->ofl_lml, osp, sgp)); in ld_place_section()
1339 ofl->ofl_flags |= FLG_OF_ADJOSCNT; in ld_place_section()
1340 ofl->ofl_shdrcnt++; in ld_place_section()
1341 if (st_insert(ofl->ofl_shdrsttab, oname) == -1) in ld_place_section()
1361 (add_comdat(ofl, osp, isp) == S_ERROR)) in ld_place_section()
1371 if ((ofl->ofl_flags & FLG_OF_EHFRAME) && in ld_place_section()
1372 !(ofl->ofl_flags & FLG_OF_RELOBJ)) { in ld_place_section()
1373 eh_frame_muldef(ofl, isp); in ld_place_section()
1376 ofl->ofl_flags |= FLG_OF_EHFRAME; in ld_place_section()
1419 if (ifl && ((ofl->ofl_flags1 & FLG_OF1_IGNPRC) || DBG_ENABLED)) { in ld_place_section()
1442 (aplist_append(&ofl->ofl_osgroups, osp, in ld_place_section()
1451 ((ofl->ofl_flags & FLG_OF_RELOBJ) == 0)) in ld_place_section()
1452 ofl->ofl_flags |= FLG_OF_TLSPHDR; in ld_place_section()
1462 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_SCN_NONALLOC), in ld_place_section()
1463 ofl->ofl_name, osp->os_name, sgp->sg_name); in ld_place_section()
1478 set_addralign(ofl, osp, isp); in ld_place_section()
1480 if (os_attach_isp(ofl, osp, isp, 0) == 0) in ld_place_section()
1483 DBG_CALL(Dbg_sec_created(ofl->ofl_lml, osp, sgp)); in ld_place_section()