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