/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | support.c | 86 DBG_CALL(Dbg_support_load(ofl->ofl_lml, obj, in ld_sup_loadso() 90 DBG_CALL(Dbg_support_action(ofl->ofl_lml, obj, in ld_sup_loadso() 109 DBG_CALL(Dbg_support_vnone(ofl->ofl_lml, in ld_sup_loadso() 148 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj, in ld_sup_start() 161 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj, in ld_sup_atexit() 205 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj, in ld_sup_open() 217 DBG_CALL(Dbg_file_modified(ofl->ofl_lml, flp->fl_obj, in ld_sup_open() 246 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj, in ld_sup_file() 279 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj, in ld_sup_input_section() 291 DBG_CALL(Dbg_shdr_modified(ofl->ofl_lml, flp->fl_obj, in ld_sup_input_section() [all …]
|
H A D | args.c | 266 DBG_CALL(Dbg_file_ar_rescan(ofl->ofl_lml, in ld_rescan_archives() 1019 while ((c = ld_getopt(ofl->ofl_lml, ndx, argc, argv)) != -1) { in parseopt_pass1() 1023 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg)); in parseopt_pass1() 1037 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg)); in parseopt_pass1() 1051 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, NULL)); in parseopt_pass1() 1056 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, NULL)); in parseopt_pass1() 1073 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg)); in parseopt_pass1() 1083 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, NULL)); in parseopt_pass1() 1088 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg)); in parseopt_pass1() 1111 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg)); in parseopt_pass1() [all …]
|
H A D | ldlibs.c | 71 DBG_CALL(Dbg_libs_ylu(ofl->ofl_lml, Llibdir, in compat_YL_YU() 82 DBG_CALL(Dbg_libs_ylu(ofl->ofl_lml, Ulibdir, in compat_YL_YU() 168 DBG_CALL(Dbg_libs_update(ofl->ofl_lml, ofl->ofl_ulibdirs, in ld_add_libdir() 206 DBG_CALL(Dbg_libs_l(ofl->ofl_lml, file, path)); in find_lib_name() 240 DBG_CALL(Dbg_libs_l(ofl->ofl_lml, file, path)); in find_lib_name() 391 DBG_CALL(Dbg_libs_path(ofl->ofl_lml, path, LA_SER_DEFAULT, 0)); in ld_lib_setup() 423 DBG_CALL(Dbg_libs_yp(ofl->ofl_lml, Plibpath)); in ld_lib_setup() 431 DBG_CALL(Dbg_libs_init(ofl->ofl_lml, ofl->ofl_ulibdirs, in ld_lib_setup()
|
H A D | ldmain.c | 103 veprintf(ofl->ofl_lml, error, format, args); in ld_eprintf() 233 DBG_CALL(Dbg_support_req(ofl->ofl_lml, sgs_support, in ld_main() 239 DBG_CALL(Dbg_util_nl(ofl->ofl_lml, DBG_NL_STD)); in ld_main() 249 DBG_CALL(Dbg_support_req(ofl->ofl_lml, lib, in ld_main() 253 DBG_CALL(Dbg_util_nl(ofl->ofl_lml, DBG_NL_STD)); in ld_main() 257 DBG_CALL(Dbg_ent_print(ofl->ofl_lml, in ld_main() 260 DBG_CALL(Dbg_seg_list(ofl->ofl_lml, in ld_main() 476 DBG_CALL(Dbg_basic_finish(ofl->ofl_lml)); in ld_main()
|
H A D | machrel.amd.c | 238 ofl->ofl_lml) == 0) { in plt_entry() 252 ofl->ofl_lml) == 0) { in plt_entry() 271 ofl->ofl_lml) == 0) { in plt_entry() 302 DBG_CALL(Dbg_reloc_discard(ofl->ofl_lml, M_MACH, orsp)); in ld_perform_outreloc() 323 DBG_CALL(Dbg_move_outsctadj(ofl->ofl_lml, psym)); in ld_perform_outreloc() 586 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 605 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 631 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 676 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 740 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() [all …]
|
H A D | libs.c | 486 DBG_CALL(Dbg_file_ar(ofl->ofl_lml, name, again)); in ar_extract_bysym() 487 DBG_CALL(Dbg_syms_ar_title(ofl->ofl_lml, name, again)); in ar_extract_bysym() 516 DBG_CALL(Dbg_syms_ar_skip(ofl->ofl_lml, in ar_extract_bysym() 570 DBG_CALL(Dbg_syms_ar_skip(ofl->ofl_lml, in ar_extract_bysym() 657 DBG_CALL(Dbg_syms_ar_checking(ofl->ofl_lml, in ar_extract_bysym() 683 DBG_CALL(Dbg_syms_ar_resolve(ofl->ofl_lml, in ar_extract_bysym() 739 DBG_CALL(Dbg_file_ar(ofl->ofl_lml, name, FALSE)); in ar_extract_all() 791 DBG_CALL(Dbg_syms_ar_force(ofl->ofl_lml, name, arname)); in ar_extract_all()
|
H A D | place.c | 212 DBG_CALL(Dbg_sec_unsup_strmerge(ofl->ofl_lml, isp)); in os_attach_isp() 281 DBG_CALL(Dbg_sec_discarded(ofl->ofl_lml, isp, in add_comdat() 846 DBG_CALL(Dbg_sec_in(ofl->ofl_lml, isp)); in ld_place_section() 857 DBG_CALL(Dbg_sec_group(ofl->ofl_lml, isp, gdesc)); in ld_place_section() 1013 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section() 1043 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, in ld_place_section() 1056 DBG_CALL(Dbg_sec_gnu_comdat(ofl->ofl_lml, isp, TRUE, in ld_place_section() 1079 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section() 1088 DBG_CALL(Dbg_sec_gnu_comdat(ofl->ofl_lml, isp, in ld_place_section() 1103 DBG_CALL(Dbg_sec_redirected(ofl->ofl_lml, isp, oname)); in ld_place_section() [all …]
|
H A D | machrel.sparc.c | 632 DBG_CALL(Dbg_reloc_discard(ofl->ofl_lml, M_MACH, orsp)); in ld_perform_outreloc() 655 DBG_CALL(Dbg_move_outsctadj(ofl->ofl_lml, psym)); in ld_perform_outreloc() 873 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 880 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 887 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 896 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 913 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 919 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 937 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 956 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() [all …]
|
H A D | machrel.intel.c | 243 DBG_CALL(Dbg_reloc_discard(ofl->ofl_lml, M_MACH, orsp)); in ld_perform_outreloc() 268 DBG_CALL(Dbg_move_outsctadj(ofl->ofl_lml, psym)); in ld_perform_outreloc() 492 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 517 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 539 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 560 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 565 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 579 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 616 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() 646 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH, in tls_fixups() [all …]
|
H A D | files.c | 93 DBG_CALL(Dbg_file_rejected(ofl->ofl_lml, &_rej, in ifl_setup() 266 DBG_CALL(Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_IGNORED, in sf1_cap() 337 Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_CURRENT, CA_SUNW_SF_1, in sf1_cap() 339 Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_NEW, CA_SUNW_SF_1, in sf1_cap() 375 DBG_CALL(Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_RESOLVED, in sf1_cap() 415 DBG_CALL(Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_IGNORED, in hw_cap() 428 Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_CURRENT, CA_SUNW_HW_1, in hw_cap() 430 Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_NEW, CA_SUNW_HW_1, in hw_cap() 436 DBG_CALL(Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_RESOLVED, tag, in hw_cap() 456 DBG_CALL(Dbg_cap_ptr_entry(ofl->ofl_lml, DBG_STATE_IGNORED, in str_cap() [all …]
|
H A D | version.c | 177 DBG_CALL(Dbg_ver_def_title(ofl->ofl_lml, ofl->ofl_name)); in ld_vers_check_defs() 206 DBG_CALL(Dbg_ver_desc_entry(ofl->ofl_lml, vdp)); in ld_vers_check_defs() 214 DBG_CALL(Dbg_ver_nointerface(ofl->ofl_lml, in ld_vers_check_defs() 289 DBG_CALL(Dbg_ver_symbol(ofl->ofl_lml, name)); in ld_vers_check_defs() 470 DBG_CALL(Dbg_ver_avail_entry(ofl->ofl_lml, vip, ref)); in vers_select() 640 DBG_CALL(Dbg_ver_def_title(ofl->ofl_lml, file)); in ld_vers_def_process() 749 DBG_CALL(Dbg_ver_desc_entry(ofl->ofl_lml, ivdp)); in ld_vers_def_process() 769 DBG_CALL(Dbg_ver_avail_title(ofl->ofl_lml, file)); in ld_vers_def_process() 799 DBG_CALL(Dbg_ver_avail_entry(ofl->ofl_lml, vip, 0)); in ld_vers_def_process() 839 DBG_CALL(Dbg_ver_need_title(ofl->ofl_lml, file)); in ld_vers_need_process() [all …]
|
H A D | map_core.c | 836 DBG_CALL(Dbg_map_cexp_id(mf->mf_ofl->ofl_lml, 1, in cexp_ident_add() 869 DBG_CALL(Dbg_map_cexp_id(mf->mf_ofl->ofl_lml, 0, in cexp_ident_clear() 1555 DBG_CALL(Dbg_map_pass(arg_mf.mf_ofl->ofl_lml, pass, in cdir_process() 2395 DBG_CALL(Dbg_map_parse(ofl->ofl_lml, mapfile, mf->mf_version)); in ld_map_parse() 2509 DBG_CALL(Dbg_map_sort_title(ofl->ofl_lml, TRUE)); in sort_seg_list() 2511 DBG_CALL(Dbg_map_sort_seg(ofl->ofl_lml, ELFOSABI_SOLARIS, in sort_seg_list() 2618 Dbg_map_sort_title(ofl->ofl_lml, FALSE); in sort_seg_list() 2620 Dbg_map_sort_seg(ofl->ofl_lml, ELFOSABI_SOLARIS, in sort_seg_list() 2645 DBG_CALL(Dbg_map_post_title(ofl->ofl_lml)); in ld_map_post_process() 2733 DBG_CALL(Dbg_map_ent_ord_title(ofl->ofl_lml, in ld_map_post_process() [all …]
|
H A D | map_v2.c | 247 DBG_CALL(Dbg_cap_mapfile_title(mf->mf_ofl->ofl_lml, in set_capmask() 249 DBG_CALL(Dbg_cap_val_entry(mf->mf_ofl->ofl_lml, DBG_STATE_CURRENT, in set_capmask() 257 DBG_CALL(Dbg_cap_val_entry(mf->mf_ofl->ofl_lml, in set_capmask() 262 DBG_CALL(Dbg_cap_val_entry(mf->mf_ofl->ofl_lml, in set_capmask() 268 DBG_CALL(Dbg_cap_val_entry(mf->mf_ofl->ofl_lml, in set_capmask() 283 DBG_CALL(Dbg_cap_val_entry(mf->mf_ofl->ofl_lml, in set_capmask() 312 DBG_CALL(Dbg_cap_mapfile_title(mf->mf_ofl->ofl_lml, mf->mf_lineno)); in set_capstr() 315 DBG_CALL(Dbg_cap_ptr_entry(mf->mf_ofl->ofl_lml, in set_capstr() 319 DBG_CALL(Dbg_cap_ptr_entry(mf->mf_ofl->ofl_lml, in set_capstr() 341 DBG_CALL(Dbg_cap_ptr_entry(mf->mf_ofl->ofl_lml, in set_capstr() [all …]
|
H A D | sections.c | 123 DBG_CALL(Dbg_syms_discarded(ofl->ofl_lml, sdp)); in ignore_sym() 142 DBG_CALL(Dbg_syms_discarded(ofl->ofl_lml, sdp)); in ignore_sym() 156 DBG_CALL(Dbg_syms_discarded(ofl->ofl_lml, sdp)); in ignore_sym() 292 DBG_CALL(Dbg_unused_file(ofl->ofl_lml, in ignore_section_processing() 886 DBG_CALL(Dbg_reloc_generate(ofl->ofl_lml, osp, in make_array() 1010 DBG_CALL(Dbg_util_nl(ofl->ofl_lml, DBG_NL_STD)); in make_dynamic() 1011 DBG_CALL(Dbg_unused_file(ofl->ofl_lml, ifl->ifl_soname, in make_dynamic() 1054 DBG_CALL(Dbg_util_nl(ofl->ofl_lml, DBG_NL_STD)); in make_dynamic() 1660 capstr_value(ofl->ofl_lml, CA_SUNW_PLAT, &ocapset->oc_plat, &title); in make_cap() 1661 capstr_value(ofl->ofl_lml, CA_SUNW_MACH, &ocapset->oc_mach, &title); in make_cap() [all …]
|
H A D | syms.c | 747 DBG_CALL(Dbg_syms_created(ofl->ofl_lml, uname)); in sym_add_spec() 1003 DBG_CALL(Dbg_syms_spec_title(ofl->ofl_lml)); in ld_sym_spec() 1302 DBG_CALL(Dbg_basic_validate(ofl->ofl_lml)); in ld_sym_validate() 2100 DBG_CALL(Dbg_syms_process(ofl->ofl_lml, ifl)); in ld_sym_process() 2276 DBG_CALL(Dbg_syms_entry(ofl->ofl_lml, ndx, sdp)); in ld_sym_process() 2326 DBG_CALL(Dbg_syms_discarded(ofl->ofl_lml, sdp)); in ld_sym_process() 2384 ofl->ofl_lml, ndx, sdp)); in ld_sym_process() 2611 DBG_CALL(Dbg_syms_wrap(ofl->ofl_lml, ndx, in ld_sym_process() 2685 DBG_CALL(Dbg_syms_discarded(ofl->ofl_lml, sdp)); in ld_sym_process() 2704 DBG_CALL(Dbg_syms_discarded(ofl->ofl_lml, sdp)); in ld_sym_process() [all …]
|
H A D | order.c | 247 DBG_CALL(Dbg_sec_order_error(ofl->ofl_lml, ifl, ndx, error)); in validate_shf_ordered_dest() 317 DBG_CALL(Dbg_sec_order_error(ofl->ofl_lml, ifl, ndx, error)); in ld_process_ordered()
|
H A D | sunwmove.c | 180 DBG_CALL(Dbg_move_input(ofl->ofl_lml, ifile->ifl_name)); in ld_process_move() 216 DBG_CALL(Dbg_move_entry1(ofl->ofl_lml, 1, mvp, sdp)); in ld_process_move()
|
H A D | map_support.c | 287 DBG_CALL(Dbg_map_dv(mf->mf_ofl->ofl_lml, sdf->sdf_name, in ld_map_dv() 336 DBG_CALL(Dbg_map_dv_entry(mf->mf_ofl->ofl_lml, mf->mf_lineno, in ld_map_dv_entry() 401 DBG_CALL(Dbg_map_seg_os_order(mf->mf_ofl->ofl_lml, sgp, sec_name, in ld_map_seg_os_order_add() 483 DBG_CALL(Dbg_map_size_new(ofl->ofl_lml, symname, in ld_map_seg_size_symbol() 1080 DBG_CALL(Dbg_map_version(ofl->ofl_lml, mv->mv_name, ms->ms_name, in ld_map_sym_enter()
|
H A D | outfile.c | 382 DBG_CALL(Dbg_basic_create(ofl->ofl_lml)); in ld_create_outfile() 427 DBG_CALL(Dbg_util_nl(ofl->ofl_lml, DBG_NL_STD)); in ld_create_outfile() 548 Lm_list *lml = ofl->ofl_lml; in ld_create_outfile()
|
H A D | relocate.c | 822 DBG_CALL(Dbg_reloc_ars_entry(ofl->ofl_lml, ELF_DBG_LD, in ld_add_actrel() 1484 DBG_CALL(Dbg_reloc_in(ofl->ofl_lml, ELF_DBG_LD, ld_targ.t_m.m_mach, in ld_process_sym_reloc() 1871 DBG_CALL(Dbg_reloc_sloppycomdat(ofl->ofl_lml, rep_sdp)); in sloppy_comdat_reloc() 1912 DBG_CALL(Dbg_reloc_in(ofl->ofl_lml, ELF_DBG_LD, in process_reld() 1948 DBG_CALL(Dbg_reloc_in(ofl->ofl_lml, ELF_DBG_LD, in process_reld() 2166 DBG_CALL(Dbg_reloc_proc(ofl->ofl_lml, osect, isect, rsect)); in reloc_section() 2424 DBG_CALL(Dbg_basic_collect(ofl->ofl_lml)); in ld_reloc_init() 2589 DBG_CALL(Dbg_reloc_dooutrel(ofl->ofl_lml, in do_sorted_outrelocs() 2668 DBG_CALL(Dbg_basic_relocate(ofl->ofl_lml)); in ld_reloc_process() 2939 DBG_CALL(Dbg_move_adjmovereloc(ofl->ofl_lml, arsp->rel_roffset, in ld_adj_movereloc() [all …]
|
H A D | update.c | 121 DBG_CALL(Dbg_syms_dup_sort_addr(ofl->ofl_lml, secname, in dynsort_dupwarn() 336 DBG_CALL(Dbg_syms_sec_title(ofl->ofl_lml)); in update_osym() 434 DBG_CALL(Dbg_syms_sec_entry(ofl->ofl_lml, in update_osym() 993 DBG_CALL(Dbg_syms_up_title(ofl->ofl_lml)); in update_osym() 1193 DBG_CALL(Dbg_syms_created(ofl->ofl_lml, in update_osym() 2993 DBG_CALL(Dbg_syminfo_title(ofl->ofl_lml)); in update_osyminfo() 3007 DBG_CALL(Dbg_syminfo_entry(ofl->ofl_lml, _cnt, in update_osyminfo() 3097 DBG_CALL(Dbg_move_expand(ofl->ofl_lml, mvp, in expand_move() 3182 DBG_CALL(Dbg_move_parexpn(ofl->ofl_lml, in update_move() 3186 DBG_CALL(Dbg_move_entry1(ofl->ofl_lml, 0, in update_move() [all …]
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | syms.c | 228 Lm_list *lml = ofl->ofl_lml; in Dbg_syms_entered() 281 dbg_print(ofl->ofl_lml, MSG_INTL(MSG_SYM_CAP_ORIG), EC_WORD(ndx), in Dbg_syms_cap_convert() 287 Elf_syms_table_entry(ofl->ofl_lml, ELF_DBG_LD, in Dbg_syms_cap_convert() 302 dbg_print(ofl->ofl_lml, MSG_INTL(MSG_SYM_CAP_LOCAL), EC_WORD(ndx), in Dbg_syms_cap_local() 308 Elf_syms_table_entry(ofl->ofl_lml, ELF_DBG_LD, in Dbg_syms_cap_local() 370 Elf_syms_table_entry(ofl->ofl_lml, ELF_DBG_LD, MSG_INTL(MSG_STR_IGNORE), in Dbg_syms_ignore() 383 Elf_syms_table_entry(ofl->ofl_lml, ELF_DBG_LD, MSG_INTL(MSG_STR_OLD), in Dbg_syms_old() 399 Elf_syms_table_entry(ofl->ofl_lml, ELF_DBG_LD, MSG_INTL(MSG_STR_NEW), in Dbg_syms_new() 409 Lm_list *lml = ofl->ofl_lml; in Dbg_syms_updated() 419 Elf_syms_table_entry(ofl->ofl_lml, ELF_DBG_LD, MSG_ORIG(MSG_STR_EMPTY), in Dbg_syms_updated() [all …]
|
H A D | statistics.c | 66 Lm_list *lml = ofl->ofl_lml; in rel_cache_statistics() 98 Lm_list *lml = ofl->ofl_lml; in rel_aux_cache_statistics() 122 Lm_list *lml = ofl->ofl_lml; in Dbg_statistics_ld() 167 Lm_list *lml = ofl->ofl_lml; in Dbg_statistics_ar()
|
H A D | map.c | 105 Lm_list *lml = ofl->ofl_lml; in Dbg_map_size_old() 127 Lm_list *lml = ofl->ofl_lml; in Dbg_map_symbol() 273 Lm_list *lml = ofl->ofl_lml; in Dbg_map_seg() 281 Dbg_seg_desc_entry(ofl->ofl_lml, ofl->ofl_dehdr->e_ident[EI_OSABI], in Dbg_map_seg() 290 Lm_list *lml = ofl->ofl_lml; in Dbg_map_seg_order()
|
H A D | segments.c | 111 Dbg_seg_desc_entry(ofl->ofl_lml, ofl->ofl_dehdr->e_ident[EI_OSABI], in Dbg_seg_entry() 144 Lm_list *lml = ofl->ofl_lml; in Dbg_seg_os()
|