/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | files.c | 88 Ifl_desc *ifl; in ifl_setup() local 140 if ((ifl->ifl_isdesc = libld_calloc(ifl->ifl_shnum, in ifl_setup() 156 return (ifl); in ifl_setup() 272 if (ifl && (ifl->ifl_ehdr->e_type == ET_REL)) { in sf1_cap() 1348 if (aplist_append(&ifl->ifl_relsect, ifl->ifl_isdesc[ndx], in process_reloc() 3109 Ifl_desc *ifl; in ld_process_ifl() local 3328 if ((ifl == NULL) || (ifl == (Ifl_desc *)S_ERROR)) in ld_process_ifl() 3363 ifl->ifl_soname = ifl->ifl_name; in ld_process_ifl() 3509 return (ifl); in ld_process_mem() 3680 if (ifl) { in ld_finish_libs() [all …]
|
H A D | resolve.c | 77 ifl->ifl_name); in sym_visibility_diag() 202 nsym, ifl, ofl); in sym_visibility() 205 nsym, ifl, ofl); in sym_visibility() 216 nsym, ifl, ofl); in sym_visibility() 219 nsym, ifl, ofl); in sym_visibility() 236 ifl, ofl); in sym_visibility() 244 ifl, ofl); in sym_visibility() 294 ifl->ifl_name, in sym_typecheck() 308 ifl, ofl); in sym_mach_check() 504 sdp->sd_file = ifl; in sym_override() [all …]
|
H A D | version.c | 340 Ifl_desc *ifl; in ld_vers_check_need() local 382 vip = &ifl->ifl_verndx[cnt]; in ld_vers_check_need() 424 vip = &ifl->ifl_verndx[cnt]; in ld_vers_check_need() 660 if (ndx > ifl->ifl_vercnt) in ld_vers_def_process() 661 ifl->ifl_vercnt = ndx; in ld_vers_def_process() 673 ivdp->vd_file = ifl; in ld_vers_def_process() 713 ovdp->vd_file = ifl; in ld_vers_def_process() 756 if ((ifl->ifl_verndx = in ld_vers_def_process() 903 vndx = ifl->ifl_versym[ndx]; in ld_vers_promote() 926 if ((ifl->ifl_verndx == 0) || (vndx > ifl->ifl_vercnt)) { in ld_vers_promote() [all …]
|
H A D | order.c | 122 is_keyshndx_ok(Ifl_desc *ifl, Word keyshndx) in is_keyshndx_ok() argument 130 if ((keyshndx == 0) || (keyshndx >= ifl->ifl_shnum)) in is_keyshndx_ok() 172 Word shnum = ifl->ifl_shnum; in validate_shf_ordered_dest() 183 isp1 = ifl->ifl_isdesc[ndx]; in validate_shf_ordered_dest() 193 isp2 = ifl->ifl_isdesc[isp2_ndx]; in validate_shf_ordered_dest() 247 DBG_CALL(Dbg_sec_order_error(ofl->ofl_lml, ifl, ndx, error)); in validate_shf_ordered_dest() 257 *alt_os_name = ifl->ifl_isdesc[isp2_ndx]->is_name; in validate_shf_ordered_dest() 295 Is_desc *isp2, *isp = ifl->ifl_isdesc[ndx]; in ld_process_ordered() 316 if ((error = is_keyshndx_ok(ifl, keyshndx)) != 0) { in ld_process_ordered() 356 isp2 = ifl->ifl_isdesc[keyshndx]; in ld_process_ordered() [all …]
|
H A D | syms.c | 380 if (ifl) in ld_sym_enter() 401 sdp->sd_file = ifl; in ld_sym_enter() 625 if (ifl->ifl_versym) in ld_sym_enter() 642 if ((ifl == NULL) || ((ifl->ifl_flags & FLG_IF_MAPFILE) == 0)) in ld_sym_enter() 2094 if (ifl->ifl_symscnt) in ld_sym_process() 2159 if ((ifl->ifl_locs = in ld_sym_process() 2212 ifl->ifl_name, in ld_sym_process() 2539 ifl->ifl_name, in ld_sym_process() 2623 ifl->ifl_name, in ld_sym_process() 3232 ifl = _ifl; in ld_sym_add_u() [all …]
|
H A D | machsym.sparc.c | 82 ifl->ifl_name, demangle(nname)); in ld_reg_check_sparc() 98 ifl->ifl_name, demangle(nname)); in ld_reg_check_sparc() 110 ifl->ifl_name); in ld_reg_check_sparc() 118 ifl->ifl_name, in ld_reg_check_sparc() 126 ld_mach_sym_typecheck_sparc(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, in ld_mach_sym_typecheck_sparc() argument 142 0, &inv_buf1), ifl->ifl_name, in ld_mach_sym_typecheck_sparc() 143 conv_sym_info_type(ifl->ifl_ehdr->e_machine, in ld_mach_sym_typecheck_sparc() 148 return (ld_reg_check_sparc(sdp, nsym, sdp->sd_name, ifl, ofl)); in ld_mach_sym_typecheck_sparc() 178 ifl->ifl_name, symsecname, symndx, EC_XWORD(sym->st_value)); in ld_is_regsym_sparc() 187 ifl->ifl_name, symsecname, symndx, EC_XWORD(sym->st_value)); in ld_is_regsym_sparc() [all …]
|
H A D | relocate.c | 156 rsdp = ifl->ifl_oldndx[rstndx]; in is_disp_copied() 386 if (ifl->ifl_sortsyms == 0) { in disp_inspect() 389 if ((ifl->ifl_sortsyms = libld_malloc((ifl->ifl_symscnt + 1) * in disp_inspect() 411 (sdp->sd_file != ifl) || in disp_inspect() 457 if (ifl->ifl_sortcnt) in disp_inspect() 1744 Ifl_desc *ifl; in sloppy_comdat_reloc() local 1783 ifl = sdp->sd_file; in sloppy_comdat_reloc() 1853 ifl->ifl_name, in sloppy_comdat_reloc() 1864 ifl->ifl_name, in sloppy_comdat_reloc() 1888 Ifl_desc *ifl = isp->is_file; in process_reld() local [all …]
|
H A D | place.c | 321 gnu_comdat_sym(Ifl_desc *ifl, Is_desc *gisp) in gnu_comdat_sym() argument 325 for (ndx = 1; ndx < ifl->ifl_shnum; ndx++) { in gnu_comdat_sym() 329 if (((isp = ifl->ifl_isdesc[ndx]) == NULL) || in gnu_comdat_sym() 536 info->ppi_path = ifl->ifl_name; in ld_place_path_info_init() 818 Ifl_desc *ifl = isp->is_file; in ld_place_section() local 1275 if (((ifl && in ld_place_section() 1279 if (ifl) in ld_place_section() 1280 ifl->ifl_flags |= FLG_IF_FILEREF; in ld_place_section() 1399 if (ifl && (shdr->sh_type == SHT_PROGBITS)) { in ld_place_section() 1426 if ((ifl->ifl_flags & FLG_IF_IGNORE) || in ld_place_section() [all …]
|
H A D | sections.c | 124 if (ifl->ifl_flags & FLG_IF_IGNORE) in ignore_sym() 143 if (ifl->ifl_flags & FLG_IF_IGNORE) in ignore_sym() 169 Ifl_desc *ifl = isp->is_file; in isdesc_discarded() local 180 if (ifl && in isdesc_discarded() 185 (ifl->ifl_flags & FLG_IF_IGNORE)) in isdesc_discarded() 279 Ifl_desc *ifl; in ignore_section_processing() local 293 ifl->ifl_name, 0, 0)); in ignore_section_processing() 336 sdp = ifl->ifl_oldndx[num]; in ignore_section_processing() 337 if ((sdp->sd_file != ifl) || in ignore_section_processing() 947 Ifl_desc *ifl; in make_dynamic() local [all …]
|
H A D | map_support.c | 164 Ifl_desc *ifl; in ld_map_ifl() local 173 if ((ifl = libld_calloc(1, sizeof (Ifl_desc))) == NULL) in ld_map_ifl() 175 ifl->ifl_name = mf->mf_name; in ld_map_ifl() 176 ifl->ifl_flags = (FLG_IF_MAPFILE | FLG_IF_NEEDED | FLG_IF_FILEREF); in ld_map_ifl() 177 if ((ifl->ifl_ehdr = libld_calloc(1, sizeof (Ehdr))) == NULL) in ld_map_ifl() 179 ifl->ifl_ehdr->e_type = ET_REL; in ld_map_ifl() 181 if (aplist_append(&mf->mf_ofl->ofl_objs, ifl, AL_CNT_OFL_OBJS) == NULL) in ld_map_ifl() 184 mf->mf_ifl = ifl; in ld_map_ifl() 440 Ifl_desc *ifl; /* Dummy input file structure */ in ld_map_seg_size_symbol() local 466 if ((ifl = ld_map_ifl(mf)) == NULL) in ld_map_seg_size_symbol() [all …]
|
H A D | ldmain.c | 516 Ifl_desc *ifl; in ifl_list_cleanup() local 518 for (APLIST_TRAVERSE(apl, idx, ifl)) { in ifl_list_cleanup() 519 if (ifl->ifl_elf) in ifl_list_cleanup() 520 (void) elf_end(ifl->ifl_elf); in ifl_list_cleanup()
|
H A D | update.c | 183 Ifl_desc *ifl; in update_osym() local 635 Cap_desc *cdp = ifl->ifl_caps; in update_osym() 644 sdp = ifl->ifl_oldndx[lndx]; in update_osym() 699 if (ifl != sdp->sd_file) in update_osym() 2134 Ifl_desc *ifl; in update_odynamic() local 2172 if ((ifl->ifl_flags & in update_odynamic() 2831 Ifl_desc *ifl; in update_overneed() local 3281 Ifl_desc *ifl; in update_ogroup() local 3294 ifl = isp->is_file; in update_ogroup() 3629 Ifl_desc *ifl; in translate_link() local [all …]
|
H A D | libs.c | 496 Ifl_desc *ifl; in ar_extract_bysym() local 544 ifl = sdp->sd_file; in ar_extract_bysym() 551 if (ifl->ifl_vercnt) { in ar_extract_bysym() 556 vip = &ifl->ifl_verndx[vndx]; in ar_extract_bysym() 565 if (((ifl->ifl_flags & FLG_IF_NEEDED) == 0) || in ar_extract_bysym()
|
H A D | groups.c | 90 Ifl_desc *ifl = isp->is_file; in ld_get_group() local 99 for (ALIST_TRAVERSE(ifl->ifl_groups, idx, gdp)) { in ld_get_group() 117 ifl->ifl_name, EC_WORD(isp->is_scnndx), isp->is_name); in ld_get_group()
|
H A D | outfile.c | 525 Ifl_desc *ifl = isp->is_file; in ld_create_outfile() local 543 if (ifl && in ld_create_outfile() 544 (((ifl->ifl_flags & FLG_IF_FILEREF) == 0) || in ld_create_outfile() 550 if (ifl->ifl_flags & FLG_IF_IGNORE) { in ld_create_outfile() 574 if (ifl && dataidx && in ld_create_outfile()
|
H A D | support.c | 253 ld_sup_input_section(Ofl_desc *ofl, Ifl_desc *ifl, const char *sname, in ld_sup_input_section() argument 275 ifl->ifl_name); in ld_sup_input_section() 289 Ehdr *ehdr = ifl->ifl_ehdr; in ld_sup_input_section()
|
H A D | args.c | 1826 Ifl_desc *ifl; in parseopt_pass2() local 1869 if (((ifl = libld_calloc(1, in parseopt_pass2() 1871 (aplist_append(&ofl->ofl_sos, ifl, in parseopt_pass2() 1875 ifl->ifl_name = MSG_INTL(MSG_STR_COMMAND); in parseopt_pass2() 1876 ifl->ifl_soname = optarg; in parseopt_pass2() 1877 ifl->ifl_flags = (FLG_IF_NEEDSTR | in parseopt_pass2()
|
H A D | machrel.sparc.c | 1592 Ifl_desc *ifl = isp->is_file; in ld_reloc_register() local 1599 for (ndx = ifl->ifl_locscnt; in ld_reloc_register() 1600 ndx < ifl->ifl_symscnt; ndx++) { in ld_reloc_register() 1601 if (((sdp = ifl->ifl_oldndx[ndx]) != 0) && in ld_reloc_register() 1607 if (sdp && (sdp->sd_file != ifl)) in ld_reloc_register()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | sections.c | 364 Ifl_desc *ifl = isp1->is_file; in Dbg_sec_order_list() local 396 isp2 = ifl->ifl_isdesc[link]; in Dbg_sec_order_list() 399 ifl->ifl_name, msg, isp2->is_name); in Dbg_sec_order_list() 421 Dbg_sec_order_error(Lm_list *lml, Ifl_desc *ifl, Word ndx, int error) in Dbg_sec_order_error() argument 435 dbg_fmt_isec_name(ifl->ifl_isdesc[ndx], buf, &alloc_mem), in Dbg_sec_order_error() 436 ifl->ifl_name); in Dbg_sec_order_error()
|
H A D | syms.c | 242 Dbg_syms_process(Lm_list *lml, Ifl_desc *ifl) in Dbg_syms_process() argument 250 dbg_print(lml, MSG_INTL(MSG_SYM_PROCESS), ifl->ifl_name, in Dbg_syms_process() 251 conv_ehdr_type(ifl->ifl_ehdr->e_ident[EI_OSABI], in Dbg_syms_process() 252 ifl->ifl_ehdr->e_type, 0, &inv_buf)); in Dbg_syms_process() 436 int col, Sym *osym, Sym *nsym, Sym_desc *sdp, Ifl_desc *ifl) in Dbg_syms_resolving() argument 456 osabi, mach, nsym, 0, 0, NULL, ifl->ifl_name); in Dbg_syms_resolving()
|
H A D | files.c | 643 Dbg_file_generic(Lm_list *lml, Ifl_desc *ifl) in Dbg_file_generic() argument 651 dbg_print(lml, MSG_INTL(MSG_FIL_BASIC), ifl->ifl_name, in Dbg_file_generic() 652 conv_ehdr_type(ifl->ifl_ehdr->e_ident[EI_OSABI], in Dbg_file_generic() 653 ifl->ifl_ehdr->e_type, 0, &inv_buf)); in Dbg_file_generic()
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | nii.c | 97 int ifl[NSO]; variable
|
H A D | ext.h | 103 extern int ifl[NSO];
|
H A D | n1.c | 1229 if ((ifile = ifl[ifi]) == 0) { in popf() 1359 ifl[ifi] = ifile; 1367 if (!ifl[ifi++]) {
|