Lines Matching refs:ofl

55 sym_null(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,  in sym_null()  argument
62 Ifl_desc *ifl, Ofl_desc *ofl) in sym_visibility_diag() argument
67 if (!(ofl->ofl_flags & FLG_OF_VERBOSE) && (err != ERR_FATAL)) in sym_visibility_diag()
70 ld_eprintf(ofl, err, MSG_INTL(MSG_SYM_CONFVIS), demangle(sdp->sd_name)); in sym_visibility_diag()
71 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_VISTYPES), in sym_visibility_diag()
76 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_DEFTAKEN), in sym_visibility_diag()
120 sym_visibility(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl) in sym_visibility() argument
189 nsym, ifl, ofl); in sym_visibility()
192 nsym, ifl, ofl); in sym_visibility()
202 nsym, ifl, ofl); in sym_visibility()
205 nsym, ifl, ofl); in sym_visibility()
216 nsym, ifl, ofl); in sym_visibility()
219 nsym, ifl, ofl); in sym_visibility()
236 ifl, ofl); in sym_visibility()
244 ifl, ofl); in sym_visibility()
268 sym_typecheck(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_typecheck() argument
279 (*ld_targ.t_ms.ms_mach_sym_typecheck)(sdp, nsym, ifl, ofl)) in sym_typecheck()
289 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_SYM_DIFFTYPE), in sym_typecheck()
291 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_FILETYPES), in sym_typecheck()
293 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, 0, &inv_buf1), in sym_typecheck()
295 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, 0, &inv_buf2)); in sym_typecheck()
300 sym_mach_check(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_mach_check() argument
308 ifl, ofl); in sym_mach_check()
316 sym_promote(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_promote() argument
321 sym_typecheck(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_promote()
358 sym_override(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_override() argument
376 sym_typecheck(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_override()
443 if ((ofl->ofl_flags1 & FLG_OF1_ALNODIR) && in sym_override()
512 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYM_NOSECDEF), in sym_override()
520 sym_twoundefs(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_twoundefs() argument
540 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_twoundefs()
543 sym_typecheck(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_twoundefs()
550 sym_tworeals(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_tworeals() argument
568 (nbind != STB_WEAK) && (!(ofl->ofl_flags & FLG_OF_MULDEFS))) { in sym_tworeals()
569 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYM_MULDEF), in sym_tworeals()
571 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_FILETYPES), in sym_tworeals()
573 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_tworeals()
575 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_tworeals()
584 (*ld_targ.t_ms.ms_mach_sym_typecheck)(sdp, nsym, ifl, ofl)) in sym_tworeals()
591 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_SYM_DIFFTYPE), in sym_tworeals()
593 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_FILETYPES), in sym_tworeals()
595 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_tworeals()
597 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_tworeals()
601 if (!(ofl->ofl_flags & FLG_OF_NOWARN)) { in sym_tworeals()
602 ld_eprintf(ofl, ERR_WARNING, in sym_tworeals()
629 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_DEFTAKEN), in sym_tworeals()
635 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_DEFTAKEN), in sym_tworeals()
637 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_tworeals()
641 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_DEFTAKEN), in sym_tworeals()
643 sym_promote(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_tworeals()
652 sym_realtent(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_realtent() argument
683 if (ofl->ofl_flags & FLG_OF_MULDEFS) { in sym_realtent()
684 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_SYM_DIFFTYPE), in sym_realtent()
686 sym_promote(sdp, nsym, ifl, ofl, ndx, in sym_realtent()
689 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYM_MULDEF), in sym_realtent()
692 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_FILETYPES), in sym_realtent()
694 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_realtent()
696 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_realtent()
706 sym_override(sdp, nsym, ifl, ofl, ndx, in sym_realtent()
713 sym_override(sdp, nsym, ifl, ofl, ndx, in sym_realtent()
731 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_SYM_DIFFTYPE), in sym_realtent()
733 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_FILETYPES), in sym_realtent()
735 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_realtent()
737 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_realtent()
752 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYM_DIFFATTR), in sym_realtent()
756 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_TENTERR)); in sym_realtent()
758 if (!(ofl->ofl_flags & FLG_OF_NOWARN)) { in sym_realtent()
759 ld_eprintf(ofl, ERR_WARNING, in sym_realtent()
799 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_realtent()
805 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_DEFTAKEN), in sym_realtent()
813 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_DEFTAKEN), in sym_realtent()
815 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_realtent()
819 ld_eprintf(ofl, ERR_NONE, MSG_INTL(MSG_SYM_DEFTAKEN), in sym_realtent()
821 sym_promote(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags); in sym_realtent()
830 sym_twotent(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, argument
859 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx,
913 if (!(ofl->ofl_flags & FLG_OF_NOWARN) && !alignscompliment)
914 ld_eprintf(ofl, ERR_WARNING,
939 if (!(ofl->ofl_flags & FLG_OF_NOWARN) && !alignscompliment)
940 ld_eprintf(ofl, ERR_NONE, emsg, file);
950 if (!(ofl->ofl_flags & FLG_OF_NOWARN))
951 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_SYM_DIFFATTR),
962 if (!(ofl->ofl_flags & FLG_OF_NOWARN))
963 ld_eprintf(ofl, ERR_NONE, emsg,
985 sym_override(sdp, nsym, ifl, ofl, ndx,
993 sym_promote(sdp, nsym, ifl, ofl, ndx,
998 sym_override(sdp, nsym, ifl, ofl, ndx,
1005 sym_override(sdp, nsym, ifl, ofl, ndx,
1011 if (!(ofl->ofl_flags & FLG_OF_NOWARN))
1012 ld_eprintf(ofl, ERR_NONE, emsg, file);
1032 sym_override(sdp, nsym, ifl, ofl, ndx,
1035 sym_promote(sdp, nsym, ifl, ofl, ndx,
1082 ld_sym_resolve(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, int ndx, argument
1127 vis = sym_visibility(sdp, nsym, ifl, ofl);
1163 DBG_CALL(Dbg_syms_resolving(ofl, ndx, sdp->sd_name, row, column,
1173 if ((ofl->ofl_flags & FLG_OF_GENMAP) && (nsym->st_shndx != SHN_UNDEF) &&
1182 Action[row][column](sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
1200 ofl->ofl_flags1 |=
1223 ld_vers_promote(sdp, ndx, ifl, ofl);
1258 DBG_CALL(Dbg_syms_resolved(ofl, sdp));