Lines Matching refs:ofl

65 process_member(Ar_mem *amp, const char *name, Sym_desc *sdp, Ofl_desc *ofl)  in process_member()  argument
85 ld_eprintf(ofl, ERR_ELF, in process_member()
94 ld_eprintf(ofl, ERR_ELF, MSG_INTL(MSG_ELF_GETDATA), in process_member()
108 ld_eprintf(ofl, ERR_ELF, MSG_INTL(MSG_ELF_GETSCN), in process_member()
113 ld_eprintf(ofl, ERR_ELF, MSG_INTL(MSG_ELF_GETDATA), in process_member()
187 ld_ar_setup(const char *name, Elf *elf, Ofl_desc *ofl) in ld_ar_setup() argument
197 if (ofl->ofl_flags1 & FLG_OF1_ALLEXRT) { in ld_ar_setup()
201 ld_eprintf(ofl, ERR_ELF, MSG_INTL(MSG_ELF_GETARSYM), in ld_ar_setup()
204 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(MSG_ELF_ARSYM), in ld_ar_setup()
229 adp->ad_flags = ofl->ofl_flags1 & MSK_OF1_ARCHIVE; in ld_ar_setup()
231 ofl->ofl_arscnt++; in ld_ar_setup()
236 if (aplist_append(&ofl->ofl_ars, adp, AL_CNT_OFL_LIBS) == NULL) in ld_ar_setup()
321 ar_member_name(const char *name, Elf *arelf, Ofl_desc *ofl) in ar_member_name() argument
326 ld_eprintf(ofl, ERR_ELF, MSG_INTL(MSG_ELF_GETARHDR), name); in ar_member_name()
343 ar_member_path(const char *name, const char *arname, Ofl_desc *ofl) in ar_member_path() argument
350 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_MALLOC), in ar_member_path()
378 ar_input(int fd, Ar_desc *adp, Ofl_desc *ofl, Elf *arelf, in ar_input() argument
384 (FLG_IF_EXTRACT | FLG_IF_NEEDED), ofl, &_rej, NULL)) { in ar_input()
408 ofl->ofl_flags1 |= FLG_OF1_EXTRACT; in ar_input()
454 Ofl_desc *ofl, Boolean *found, Rej_desc *rej) in ar_extract_bysym() argument
485 DBG_CALL(Dbg_file_ar(ofl->ofl_lml, name, again)); in ar_extract_bysym()
486 DBG_CALL(Dbg_syms_ar_title(ofl->ofl_lml, name, again)); in ar_extract_bysym()
514 (Word)arsym->as_hash, NULL, ofl)) == NULL) { in ar_extract_bysym()
515 DBG_CALL(Dbg_syms_ar_skip(ofl->ofl_lml, in ar_extract_bysym()
568 (!(ofl->ofl_flags1 & FLG_OF1_WEAKEXT)))) { in ar_extract_bysym()
569 DBG_CALL(Dbg_syms_ar_skip(ofl->ofl_lml, in ar_extract_bysym()
588 ld_eprintf(ofl, ERR_ELF, in ar_extract_bysym()
597 ld_eprintf(ofl, ERR_ELF, in ar_extract_bysym()
604 ofl)) == NULL) in ar_extract_bysym()
609 ofl)) == NULL) in ar_extract_bysym()
617 ld_sup_open(ofl, &arpath, &arname, &fd, in ar_extract_bysym()
656 DBG_CALL(Dbg_syms_ar_checking(ofl->ofl_lml, in ar_extract_bysym()
659 sdp, ofl)) == S_ERROR) in ar_extract_bysym()
682 DBG_CALL(Dbg_syms_ar_resolve(ofl->ofl_lml, in ar_extract_bysym()
684 switch (ar_input(fd, adp, ofl, arelf, arpath, in ar_extract_bysym()
730 ar_extract_all(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl, in ar_extract_all() argument
738 DBG_CALL(Dbg_file_ar(ofl->ofl_lml, name, FALSE)); in ar_extract_all()
750 if ((arname = ar_member_name(name, arelf, ofl)) == NULL) in ar_extract_all()
776 if ((arpath = ar_member_path(name, arname, ofl)) == NULL) in ar_extract_all()
783 ld_sup_open(ofl, &arpath, &arname, &fd, in ar_extract_all()
790 DBG_CALL(Dbg_syms_ar_force(ofl->ofl_lml, name, arname)); in ar_extract_all()
791 switch (ar_input(fd, adp, ofl, arelf, arpath, rej)) { in ar_extract_all()
828 ld_process_archive(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl) in ld_process_archive() argument
842 if (ofl->ofl_flags & FLG_OF_FATAL) in ld_process_archive()
852 if (ofl->ofl_flags1 & FLG_OF1_ALLEXRT) { in ld_process_archive()
853 if (!ar_extract_all(name, fd, adp, ofl, &found, &rej)) in ld_process_archive()
856 if (!ar_extract_bysym(name, fd, adp, ofl, &found, &rej)) in ld_process_archive()
868 ld_eprintf(ofl, ERR_WARNING, MSG_INTL(reject[rej.rej_type]), in ld_process_archive()