Lines Matching refs:ifl

77 string(Ofl_desc *ofl, Ifl_desc *ifl, Sym *sym, const char *strs, size_t strsize,  in string()  argument
84 if ((ifl->ifl_flags & FLG_IF_HSTRTAB) == 0) { in string()
86 ifl->ifl_name, EC_WORD(symsecndx), symsecname, in string()
92 MSG_INTL(MSG_FIL_EXCSTRTABLE), ifl->ifl_name, in string()
104 const char *regname = (*ld_targ.t_ms.ms_is_regsym)(ofl, ifl, in string()
124 ifl->ifl_name, EC_WORD(symsecndx), symsecname, symndx, in string()
197 ld_sym_nodirect(Is_desc *isp, Ifl_desc *ifl, Ofl_desc *ofl) in ld_sym_nodirect() argument
215 if ((sifshdr->sh_link == 0) || (sifshdr->sh_link >= ifl->ifl_shnum)) { in ld_sym_nodirect()
220 ifl->ifl_name, isp->is_name, EC_XWORD(sifshdr->sh_link)); in ld_sym_nodirect()
223 symshdr = ifl->ifl_isdesc[sifshdr->sh_link]->is_shdr; in ld_sym_nodirect()
224 symdata = ifl->ifl_isdesc[sifshdr->sh_link]->is_indata->d_buf; in ld_sym_nodirect()
229 strdata = ifl->ifl_isdesc[symshdr->sh_link]->is_indata->d_buf; in ld_sym_nodirect()
247 if (ifl != sdp->sd_file) in ld_sym_nodirect()
327 ld_sym_enter(const char *name, Sym *osym, Word hash, Ifl_desc *ifl, in ld_sym_enter() argument
342 if (ifl) in ld_sym_enter()
343 etype = ifl->ifl_ehdr->e_type; in ld_sym_enter()
363 sdp->sd_file = ifl; in ld_sym_enter()
403 sdp->sd_isc = ifl->ifl_isdesc[shndx]; in ld_sym_enter()
416 name, ifl->ifl_name, EC_XWORD(shndx)); in ld_sym_enter()
558 sap->sa_rfile = ifl->ifl_name; in ld_sym_enter()
567 if (ifl->ifl_vercnt) { in ld_sym_enter()
569 Half vndx = ifl->ifl_versym[ndx]; in ld_sym_enter()
572 vip = &ifl->ifl_verndx[vndx]; in ld_sym_enter()
575 sap->sa_vfile = ifl->ifl_name; in ld_sym_enter()
578 if (!(ifl->ifl_flags & FLG_IF_NEEDED)) in ld_sym_enter()
587 if (ifl->ifl_versym) in ld_sym_enter()
588 ld_vers_promote(sdp, ndx, ifl, ofl); in ld_sym_enter()
593 if (aplist_append(&sap->sa_dfiles, ifl->ifl_name, in ld_sym_enter()
604 if ((ifl == NULL) || ((ifl->ifl_flags & FLG_IF_MAPFILE) == 0)) in ld_sym_enter()
849 Ifl_desc *ifl = sdp->sd_file; in sym_undef_entry() local
868 name1 = ifl->ifl_name; in sym_undef_entry()
872 name2 = ifl->ifl_name; in sym_undef_entry()
877 name3 = ifl->ifl_verndx[sap->sa_dverndx].vi_name; in sym_undef_entry()
1297 Ifl_desc *ifl = sdp->sd_file; in ld_sym_validate() local
1303 demangle(sdp->sd_name), ifl->ifl_name); in ld_sym_validate()
1854 issue_badaddr_msg(Ifl_desc *ifl, Ofl_desc *ofl, Sym_desc *sdp, in issue_badaddr_msg() argument
1870 ifl->ifl_name, shndx, sdp->sd_isc->is_name, in issue_badaddr_msg()
1901 ld_sym_process(Is_desc *isc, Ifl_desc *ifl, Ofl_desc *ofl) in ld_sym_process() argument
1942 uchar_t osabi = ifl->ifl_ehdr->e_ident[EI_OSABI]; in ld_sym_process()
1943 Half mach = ifl->ifl_ehdr->e_machine; in ld_sym_process()
1944 Half etype = ifl->ifl_ehdr->e_type; in ld_sym_process()
1958 if (ifl->ifl_symscnt) in ld_sym_process()
1964 DBG_CALL(Dbg_syms_process(ofl->ofl_lml, ifl)); in ld_sym_process()
1976 if (ifl->ifl_flags & FLG_IF_HSTRTAB) { in ld_sym_process()
1978 if ((ndx == 0) || (ndx >= ifl->ifl_shnum)) { in ld_sym_process()
1980 MSG_INTL(MSG_FIL_INVSHLINK), ifl->ifl_name, in ld_sym_process()
1984 strsize = ifl->ifl_isdesc[ndx]->is_shdr->sh_size; in ld_sym_process()
1985 strs = ifl->ifl_isdesc[ndx]->is_indata->d_buf; in ld_sym_process()
1986 if (ifl->ifl_isdesc[ndx]->is_name) in ld_sym_process()
1987 strsecname = ifl->ifl_isdesc[ndx]->is_name; in ld_sym_process()
2019 if ((ifl->ifl_oldndx = libld_malloc((size_t)(total * in ld_sym_process()
2024 if ((ifl->ifl_locs = in ld_sym_process()
2028 ifl->ifl_locscnt = (Word)local; in ld_sym_process()
2030 ifl->ifl_symscnt = total; in ld_sym_process()
2056 } else if (shndx > ifl->ifl_shnum) { in ld_sym_process()
2064 if ((name = string(ofl, ifl, sym, strs, strsize, ndx, in ld_sym_process()
2077 ifl->ifl_name, in ld_sym_process()
2107 (rsdp, sym, name, ifl, ofl); in ld_sym_process()
2127 sdp = &(ifl->ifl_locs[ndx]); in ld_sym_process()
2136 sdp->sd_file = ifl; in ld_sym_process()
2137 ifl->ifl_oldndx[ndx] = sdp; in ld_sym_process()
2180 sdp->sd_isc = ifl->ifl_isdesc[shndx]; in ld_sym_process()
2203 ndx), ifl->ifl_name, in ld_sym_process()
2220 issue_badaddr_msg(ifl, ofl, sdp, in ld_sym_process()
2267 ifl->ifl_name); in ld_sym_process()
2288 ifl->ifl_name, in ld_sym_process()
2335 test_gnu_hidden_bit = ((ifl->ifl_flags & FLG_IF_GNUVER) != 0) && in ld_sym_process()
2336 (ifl->ifl_versym != NULL); in ld_sym_process()
2344 if ((etype == ET_REL) && (ifl->ifl_flags & FLG_IF_OTOSCAP)) in ld_sym_process()
2345 cdp = ifl->ifl_caps; in ld_sym_process()
2371 } else if (shndx > ifl->ifl_shnum) { in ld_sym_process()
2379 if ((name = string(ofl, ifl, nsym, strs, strsize, ndx, shndx, in ld_sym_process()
2389 ifl->ifl_name, in ld_sym_process()
2400 ((ifl->ifl_versym[ndx] & 0x8000) != 0)) in ld_sym_process()
2420 ifl->ifl_oldndx[ndx] = 0; in ld_sym_process()
2473 ifl->ifl_name, in ld_sym_process()
2488 if (shndx >= ifl->ifl_shnum) { in ld_sym_process()
2498 ifl->ifl_name, in ld_sym_process()
2504 isp = ifl->ifl_isdesc[shndx]; in ld_sym_process()
2517 sdp->sd_file = ifl; in ld_sym_process()
2520 ifl->ifl_oldndx[ndx] = sdp; in ld_sym_process()
2592 cpp->c_osdp->sd_file = ifl; in ld_sym_process()
2593 cpp->c_osdp->sd_isc = ifl->ifl_isdesc[shndx]; in ld_sym_process()
2631 if ((sdp = ld_sym_enter(name, nsym, hash, ifl, ofl, ndx, in ld_sym_process()
2635 } else if (ld_sym_resolve(sdp, nsym, ifl, ofl, ndx, shndx, in ld_sym_process()
2658 if (sdp->sd_file == ifl) in ld_sym_process()
2661 ifl->ifl_oldndx[ndx] = sdp; in ld_sym_process()
2680 sdp->sd_sym, sdp->sd_name, ifl, ofl); in ld_sym_process()
2695 if (etype_rel && (sdp->sd_file == ifl)) { in ld_sym_process()
2700 issue_badaddr_msg(ifl, ofl, sdp, in ld_sym_process()
2757 (void) memcpy((void *)sort, &ifl->ifl_oldndx[local], nsize); in ld_sym_process()
2770 if ((wsdp == NULL) || (wsdp->sd_file != ifl)) in ld_sym_process()
2798 if ((ssdp == NULL) || (ssdp->sd_file != ifl)) in ld_sym_process()
3000 cpp1->c_group, &ifl->ifl_caps->ca_syms) == S_ERROR) in ld_sym_process()
3021 Ifl_desc *ifl = NULL, *_ifl; in ld_sym_add_u() local
3050 ifl = _ifl; in ld_sym_add_u()
3057 if (ifl == NULL) { in ld_sym_add_u()
3058 if ((ifl = libld_calloc(sizeof (Ifl_desc), 1)) == NULL) in ld_sym_add_u()
3060 ifl->ifl_name = reference; in ld_sym_add_u()
3061 ifl->ifl_flags = FLG_IF_NEEDED | FLG_IF_FILEREF; in ld_sym_add_u()
3062 if ((ifl->ifl_ehdr = libld_calloc(sizeof (Ehdr), 1)) == NULL) in ld_sym_add_u()
3064 ifl->ifl_ehdr->e_type = ET_REL; in ld_sym_add_u()
3066 if (aplist_append(&ofl->ofl_objs, ifl, AL_CNT_OFL_OBJS) == NULL) in ld_sym_add_u()
3078 DBG_CALL(Dbg_syms_process(ofl->ofl_lml, ifl)); in ld_sym_add_u()
3081 if ((sdp = ld_sym_enter(name, sym, hash, ifl, ofl, 0, SHN_UNDEF, in ld_sym_add_u()
3084 } else if (ld_sym_resolve(sdp, sym, ifl, ofl, 0, in ld_sym_add_u()