Lines Matching defs:ifl
308 vers_derefer(Ifl_desc *ifl, Ver_desc *vdp, int weak)
312 Ver_index *vip = &ifl->ifl_verndx[vdp->vd_ndx];
328 vers_derefer(ifl, _vdp, weak);
340 Ifl_desc *ifl;
362 for (APLIST_TRAVERSE(ofl->ofl_sos, idx1, ifl)) {
368 if (!(ifl->ifl_flags & FLG_IF_NEEDED))
371 if (ifl->ifl_vercnt <= VER_NDX_GLOBAL)
381 for (cnt = 0; cnt <= ifl->ifl_vercnt; cnt++) {
382 vip = &ifl->ifl_verndx[cnt];
404 for (APLIST_TRAVERSE(ifl->ifl_verdesc, idx2, vdp)) {
409 vip = &ifl->ifl_verndx[vdp->vd_ndx];
416 vers_derefer(ifl, _vdp, type);
423 for (cnt = 0; cnt <= ifl->ifl_vercnt; cnt++) {
424 vip = &ifl->ifl_verndx[cnt];
442 ifl->ifl_flags |= FLG_IF_VERNEED;
444 if (st_insert(strtbl, ifl->ifl_soname) == -1)
463 vers_select(Ofl_desc *ofl, Ifl_desc *ifl, Ver_desc *vdp, const char *ref)
467 Ver_index *vip = &ifl->ifl_verndx[vdp->vd_ndx];
473 vers_select(ofl, ifl, _vdp, ref);
477 vers_index(Ofl_desc *ofl, Ifl_desc *ifl, int avail)
482 Sdf_desc *sdf = ifl->ifl_sdfdesc;
483 Word count = ifl->ifl_vercnt;
493 for (APLIST_TRAVERSE(ifl->ifl_verdesc, idx1, vdp)) {
563 ld_vers_sym_process(Ofl_desc *ofl, Is_desc *isp, Ifl_desc *ifl)
572 symshdr = ifl->ifl_isdesc[vershdr->sh_link]->is_shdr;
575 Is_desc *sym_isp = ifl->ifl_isdesc[vershdr->sh_link];
578 ifl->ifl_name, EC_WORD(isp->is_scnndx), isp->is_name,
584 ifl->ifl_versym = (Versym *)isp->is_indata->d_buf;
596 ld_vers_def_process(Is_desc *isp, Ifl_desc *ifl, Ofl_desc *ofl)
598 const char *str, *file = ifl->ifl_name;
599 Sdf_desc *sdf = ifl->ifl_sdfdesc;
614 MSG_INTL(MSG_VER_NOEXIST), ifl->ifl_name,
629 ifl->ifl_name, vdf->vd_version, VER_DEF_CURRENT);
633 str = (char *)ifl->ifl_isdesc[isp->is_shdr->sh_link]->is_indata->d_buf;
635 if (ifl->ifl_ehdr->e_type == ET_REL)
660 if (ndx > ifl->ifl_vercnt)
661 ifl->ifl_vercnt = ndx;
667 ifl->ifl_verdesc)) == NULL) &&
669 &ifl->ifl_verdesc)) == (Ver_desc *)S_ERROR))
673 ivdp->vd_file = ifl;
713 ovdp->vd_file = ifl;
740 ifl->ifl_verdesc)) == NULL) &&
742 &ifl->ifl_verdesc)) == (Ver_desc *)S_ERROR))
756 if ((ifl->ifl_verndx =
757 vers_index(ofl, ifl, relobj)) == (Ver_index *)S_ERROR)
779 for (APLIST_TRAVERSE(ifl->ifl_verdesc, idx2, vdp)) {
786 vers_select(ofl, ifl, vdp, sdv->sdv_ref);
789 MSG_INTL(MSG_VER_NOEXIST), ifl->ifl_name,
796 for (cnt = VER_NDX_GLOBAL; cnt <= ifl->ifl_vercnt; cnt++) {
797 vip = &ifl->ifl_verndx[cnt];
808 if (ifl->ifl_flags & FLG_IF_NEEDED)
818 ld_vers_need_process(Is_desc *isp, Ifl_desc *ifl, Ofl_desc *ofl)
820 const char *str, *file = ifl->ifl_name;
833 ifl->ifl_name, vnd->vn_version, VER_DEF_CURRENT);
837 str = (char *)ifl->ifl_isdesc[isp->is_shdr->sh_link]->is_indata->d_buf;
894 ld_vers_promote(Sym_desc *sdp, Word ndx, Ifl_desc *ifl, Ofl_desc *ofl)
903 vndx = ifl->ifl_versym[ndx];
926 if ((ifl->ifl_verndx == 0) || (vndx > ifl->ifl_vercnt)) {
928 sdp->sd_name, ifl->ifl_name, vndx);
942 vip = &ifl->ifl_verndx[vndx];
1024 Ifl_desc *ifl = sdf->sdf_file;
1037 if ((ifl == NULL) || (ifl->ifl_verdesc == NULL))
1050 for (APLIST_TRAVERSE(ifl->ifl_verdesc, idx3, vdp)) {
1059 vip = &ifl->ifl_verndx[vdp->vd_ndx];
1063 ifl->ifl_name, sdv->sdv_name,
1068 MSG_INTL(MSG_VER_NOEXIST), ifl->ifl_name,