Lines Matching defs:ofl

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