/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | version.c | 38 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_avail_title() 49 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_def_title() 51 Elf_ver_def_title(lml); in Dbg_ver_def_title() 60 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_need_title() 62 Elf_ver_need_title(lml, 0); in Dbg_ver_need_title() 73 Elf_ver_line_4(lml, version); in Dbg_ver_need_entry() 89 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_symbol() 93 Dbg_syms_created(lml, name); in Dbg_ver_symbol() 103 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_nointerface() 105 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_nointerface() [all …]
|
H A D | files.c | 43 Lm_list *lml = LIST(lmp); in Dbg_file_analyze() local 48 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_file_analyze() 65 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_file_mmapobj() 84 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_file_mmapobj() 110 Lm_list *lml = LIST(lmp); in Dbg_file_ldso() local 129 Lm_list *lml = LIST(lmp); in Dbg_file_prot() local 141 Lm_list *lml = LIST(lmp); in Dbg_file_delete() local 214 Lm_list *lml = LIST(lmp); in Dbg_file_hdl_action() local 305 Lm_list *lml = LIST(lmp); in Dbg_file_bindings() local 382 Lm_list *lml = LIST(clmp); in Dbg_file_lazyload() local [all …]
|
H A D | basic.c | 38 Dbg_basic_collect(Lm_list *lml) in Dbg_basic_collect() argument 43 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_basic_collect() 45 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_basic_collect() 49 Dbg_basic_create(Lm_list *lml) in Dbg_basic_create() argument 54 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_basic_create() 56 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_basic_create() 60 Dbg_basic_files(Lm_list *lml) in Dbg_basic_files() argument 65 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_basic_files() 67 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_basic_files() 70 Dbg_basic_finish(Lm_list *lml) in Dbg_basic_finish() argument [all …]
|
H A D | map.c | 95 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_size_new() 105 Lm_list *lml = ofl->ofl_lml; in Dbg_map_size_old() local 110 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_size_old() 127 Lm_list *lml = ofl->ofl_lml; in Dbg_map_symbol() local 231 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_parse() 242 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_ent() 254 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_ent_ord_title() 273 Lm_list *lml = ofl->ofl_lml; in Dbg_map_seg() local 278 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_seg() 283 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_seg() [all …]
|
H A D | audit.c | 84 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_activity() 85 dbg_print(lml, MSG_INTL(MSG_AUD_ACTIVITY), lib, obj, in Dbg_audit_activity() 95 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_preinit() 109 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_objsearch() 130 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_objfilter() 147 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_objopen() 165 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_objclose() 179 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_symbind() 196 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_pltenter() 224 Dbg_audit_terminate(Lm_list *lml, const char *name) in Dbg_audit_terminate() argument [all …]
|
H A D | cap.c | 49 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_cap_filter() 75 Dbg_util_nl(lml, DBG_NL_FRC); in Dbg_cap_val() 87 dbg_print(lml, MSG_INTL(MSG_CAP_SYS_HW_3), in Dbg_cap_val() 92 dbg_print(lml, MSG_INTL(MSG_CAP_SYS_HW_2), in Dbg_cap_val() 97 dbg_print(lml, MSG_INTL(MSG_CAP_SYS_HW_1), in Dbg_cap_val() 108 Dbg_util_nl(lml, DBG_NL_FRC); in Dbg_cap_val() 139 Dbg_util_nl(lml, DBG_NL_FRC); in Dbg_cap_val() 184 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_cap_sec_title() 200 Dbg_cap_mapfile_title(lml, lineno); in Dbg_cap_id() 212 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_cap_post_title() [all …]
|
H A D | libs.c | 45 Dbg_libs_find(Lm_list *lml, const char *name) in Dbg_libs_find() argument 50 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_libs_find() 83 dbg_print(lml, MSG_ORIG(MSG_LIB_FILE), cp); in Dbg_lib_dir_print() 92 dbg_print(lml, MSG_INTL(MSG_LIB_INITPATH)); in Dbg_libs_init() 93 Dbg_lib_dir_print(lml, ulibdir); in Dbg_libs_init() 94 Dbg_lib_dir_print(lml, dlibdir); in Dbg_libs_init() 152 dbg_print(lml, fmt, path, obj); in Dbg_libs_path() 173 dbg_print(lml, MSG_INTL(MSG_LIB_UPPATH)); in Dbg_libs_update() 174 Dbg_lib_dir_print(lml, ulibdir); in Dbg_libs_update() 175 Dbg_lib_dir_print(lml, dlibdir); in Dbg_libs_update() [all …]
|
H A D | dlfcns.c | 34 Lm_list *lml = LIST(clmp); in Dbg_dl_iphdr_enter() local 39 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_dl_iphdr_enter() 82 Lm_list *lml = LIST(clmp); in Dbg_dl_dlopen() local 100 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_dl_dlopen() 109 Lm_list *lml = LIST(clmp); in Dbg_dl_dlclose() local 119 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_dl_dlclose() 127 Lm_list *lml = LIST(clmp); in Dbg_dl_dldump() local 141 Lm_list *lml = LIST(clmp); in Dbg_dl_dlerror() local 154 Lm_list *lml = LIST(clmp); in Dbg_dl_dladdr() local 168 Lm_list *lml = LIST(clmp); in Dbg_dl_dlsym() local [all …]
|
H A D | relocate.c | 81 Lm_list *lml = LIST(lmp); in Dbg_reloc_run() local 100 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_reloc_run() 116 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_reloc_run() 145 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_reloc_generate() 151 Elf_reloc_title(lml, ELF_DBG_LD, type); in Dbg_reloc_generate() 188 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_reloc_proc() 198 Dbg_reloc_doact_title(Lm_list *lml) in Dbg_reloc_doact_title() argument 205 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_reloc_doact_title() 207 Elf_reloc_title(lml, ELF_DBG_LD_ACT, 0); in Dbg_reloc_doact_title() 244 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_reloc_dooutrel() [all …]
|
H A D | move.c | 34 Lm_list *lml = LIST(lmp); in Dbg_move_data() local 40 dbg_print(lml, MSG_INTL(MSG_MOVE_TITLE2)); in Dbg_move_data() 69 Dbg_move_outsctadj(Lm_list *lml, Sym_desc *sdp) in Dbg_move_outsctadj() argument 76 dbg_print(lml, MSG_INTL(MSG_MOVE_OUTSCTADJ), in Dbg_move_outsctadj() 86 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_move_parexpn() 88 dbg_print(lml, MSG_INTL(MSG_MOVE_TITLE1)); in Dbg_move_parexpn() 97 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_move_outmove() 99 dbg_print(lml, MSG_INTL(MSG_MOVE_TITLE1)); in Dbg_move_outmove() 113 Dbg_move_input(Lm_list *lml, const char *name) in Dbg_move_input() argument 118 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_move_input() [all …]
|
H A D | syms.c | 35 Lm_list *lml = LIST(lmp); in Dbg_syms_lookup() local 61 Lm_list *lml = LIST(lmp); in Dbg_syms_cap_lookup() local 101 Lm_list *lml = LIST(lmp); in Dbg_syms_ignore_gnuver() local 116 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_syms_lazy_rescan() 177 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_syms_spec_title() 228 Lm_list *lml = ofl->ofl_lml; in Dbg_syms_entered() local 249 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_syms_process() 333 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_syms_sec_title() 438 Lm_list *lml = ofl->ofl_lml; in Dbg_syms_resolving() local 481 Lm_list *lml = ofl->ofl_lml; in Dbg_syms_copy_reloc() local [all …]
|
H A D | util.c | 40 Lm_list *lml = LIST(lmp); in Dbg_util_call_main() local 42 Dbg_util_nl(lml, DBG_NL_FRC); in Dbg_util_call_main() 44 Dbg_util_nl(lml, DBG_NL_FRC); in Dbg_util_call_main() 50 Lm_list *lml = LIST(lmp); in Dbg_util_call_init() local 65 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_util_call_init() 67 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_util_call_init() 73 Lm_list *lml = LIST(lmp); in Dbg_util_intoolate() local 75 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_util_intoolate() 131 Lm_list *lml = LIST(lmp); in Dbg_util_call_array() local 151 Lm_list *lml = LIST(lmp); in Dbg_util_call_fini() local [all …]
|
H A D | sections.c | 105 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_sec_strtab() 117 dbg_print(lml, MSG_ORIG(MSG_STR_EMPTY)); in Dbg_sec_strtab() 190 Dbg_sec_backing(Lm_list *lml) in Dbg_sec_backing() argument 195 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_sec_backing() 200 Dbg_sec_in(Lm_list *lml, Is_desc *isp) in Dbg_sec_in() argument 223 dbg_print(lml, MSG_INTL(MSG_SEC_INPUT), in Dbg_sec_in() 329 Lm_list *lml = ofl->ofl_lml; in Dbg_sec_order_list() local 337 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_sec_order_list() 351 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_sec_order_list() 352 dbg_print(lml, str, osp->os_name); in Dbg_sec_order_list() [all …]
|
H A D | segments.c | 44 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_seg_desc_entry() 49 dbg_print(lml, MSG_ORIG(MSG_SEG_FLAGS), in Dbg_seg_desc_entry() 52 Elf_phdr(lml, osabi, mach, &sgp->sg_phdr); in Dbg_seg_desc_entry() 55 dbg_print(lml, MSG_ORIG(MSG_SEG_ALIGN), in Dbg_seg_desc_entry() 59 dbg_print(lml, MSG_ORIG(MSG_SEG_LENGTH), in Dbg_seg_desc_entry() 63 dbg_print(lml, MSG_ORIG(MSG_SEG_ROUND), in Dbg_seg_desc_entry() 92 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_seg_desc_entry() 96 Dbg_seg_title(Lm_list *lml) in Dbg_seg_title() argument 101 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_seg_title() 128 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_seg_list() [all …]
|
H A D | elf.c | 33 Elf_ehdr(Lm_list *lml, Ehdr *ehdr, Shdr *shdr0) in Elf_ehdr() argument 44 dbg_print(lml, MSG_ORIG(MSG_STR_EMPTY)); in Elf_ehdr() 45 dbg_print(lml, MSG_INTL(MSG_ELF_HEADER)); in Elf_ehdr() 51 dbg_print(lml, MSG_ORIG(MSG_ELF_CLASS), in Elf_ehdr() 54 dbg_print(lml, MSG_ORIG(MSG_ELF_OSABI), in Elf_ehdr() 58 dbg_print(lml, MSG_ORIG(MSG_ELF_MACHINE), in Elf_ehdr() 61 dbg_print(lml, MSG_ORIG(MSG_ELF_TYPE), in Elf_ehdr() 73 dbg_print(lml, MSG_ORIG(MSG_ELF_FLAGS), flgs); in Elf_ehdr() 80 dbg_print(lml, MSG_ORIG(MSG_ELFX_ESIZE), in Elf_ehdr() 109 dbg_print(lml, MSG_ORIG(MSG_STR_EMPTY)); in Elf_ehdr() [all …]
|
H A D | tls.c | 40 Dbg_tls_modent(Lm_list *lml, TLS_modinfo * tmodent) in Dbg_tls_modent() argument 61 dbg_print(lml, MSG_INTL(MSG_TLS_MODENT1), in Dbg_tls_modent() 65 dbg_print(lml, MSG_INTL(MSG_TLS_MODENT2), in Dbg_tls_modent() 76 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_tls_static_block() 85 dbg_print(lml, MSG_INTL(MSG_TLS_STATBLOCK1), ndx, in Dbg_tls_static_block() 87 Dbg_tls_modent(lml, tlsmodlist[ndx]); in Dbg_tls_static_block() 88 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_tls_static_block() 98 Lm_list *lml = LIST(lmp); in Dbg_tls_static_resv() local 103 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_tls_static_resv() 123 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_tls_modactivity() [all …]
|
H A D | shdr.c | 33 Elf_shdr(Lm_list *lml, uchar_t osabi, Half mach, Shdr *shdr) in Elf_shdr() argument 43 dbg_print(lml, MSG_ORIG(MSG_SHD_OFFSET), in Elf_shdr() 50 dbg_print(lml, MSG_ORIG(MSG_SHD_OFFSET_ENT), in Elf_shdr() 54 dbg_print(lml, MSG_ORIG(MSG_SHD_LINK), in Elf_shdr() 72 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_shdr_modified() 73 dbg_print(lml, MSG_INTL(MSG_SHD_MODIFIED), in Dbg_shdr_modified() 78 dbg_print(lml, MSG_INTL(MSG_SHD_ORIG)); in Dbg_shdr_modified() 79 Elf_shdr(lml, osabi, mach, oshdr); in Dbg_shdr_modified() 81 dbg_print(lml, MSG_INTL(MSG_SHD_NEW)); in Dbg_shdr_modified() 82 Elf_shdr(lml, osabi, mach, nshdr); in Dbg_shdr_modified() [all …]
|
H A D | entry.c | 47 dbg_print(lml, MSG_ORIG(MSG_ECR_NAME), enp->ec_name); in Dbg_ent_entry() 49 dbg_print(lml, MSG_ORIG(MSG_ECR_FLAGS), in Dbg_ent_entry() 52 dbg_print(lml, MSG_ORIG(MSG_ECR_IS_NAME), in Dbg_ent_entry() 56 dbg_print(lml, MSG_ORIG(MSG_ECR_SEGMENT), in Dbg_ent_entry() 61 dbg_print(lml, MSG_ORIG(MSG_ECR_NDX), EC_WORD(enp->ec_ordndx), in Dbg_ent_entry() 65 dbg_print(lml, MSG_ORIG(MSG_ECR_FILES)); in Dbg_ent_entry() 67 dbg_print(lml, MSG_ORIG(MSG_ECR_FILE), in Dbg_ent_entry() 85 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ent_print() 86 dbg_print(lml, MSG_INTL(MSG_ECR_TITLE)); in Dbg_ent_print() 89 dbg_print(lml, MSG_INTL(MSG_ECR_DESC), EC_WORD(ndx)); in Dbg_ent_print() [all …]
|
H A D | statistics.c | 66 Lm_list *lml = ofl->ofl_lml; in rel_cache_statistics() local 98 Lm_list *lml = ofl->ofl_lml; in rel_aux_cache_statistics() local 122 Lm_list *lml = ofl->ofl_lml; in Dbg_statistics_ld() local 127 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_statistics_ld() 131 dbg_print(lml, MSG_INTL(MSG_STATS_FILES), in Dbg_statistics_ld() 146 dbg_print(lml, MSG_INTL(MSG_STATS_REL_OUT), in Dbg_statistics_ld() 149 dbg_print(lml, MSG_INTL(MSG_STATS_REL_IN), in Dbg_statistics_ld() 167 Lm_list *lml = ofl->ofl_lml; in Dbg_statistics_ar() local 172 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_statistics_ar() 178 Dbg_unused_file(lml, adp->ad_name, 0, 0); in Dbg_statistics_ar() [all …]
|
H A D | args.c | 31 Dbg_args_option(Lm_list *lml, int ndx, int c, char *optarg) in Dbg_args_option() argument 37 dbg_print(lml, MSG_INTL(MSG_ARG_OPTARG), ndx, c, optarg); in Dbg_args_option() 39 dbg_print(lml, MSG_INTL(MSG_ARG_OPTION), ndx, c); in Dbg_args_option() 43 Dbg_args_str2chr(Lm_list *lml, int ndx, const char *opt, int c) in Dbg_args_str2chr() argument 48 dbg_print(lml, MSG_INTL(MSG_ARG_STR2CHR), ndx, opt, c); in Dbg_args_str2chr() 52 Dbg_args_Wldel(Lm_list *lml, int ndx, const char *opt) in Dbg_args_Wldel() argument 57 dbg_print(lml, MSG_INTL(MSG_ARG_WLDEL), ndx, opt); in Dbg_args_Wldel() 61 Dbg_args_file(Lm_list *lml, int ndx, char *file) in Dbg_args_file() argument 66 dbg_print(lml, MSG_INTL(MSG_ARG_FILE), ndx, file); in Dbg_args_file()
|
H A D | support.c | 31 Dbg_support_req(Lm_list *lml, const char *define, int flag) in Dbg_support_req() argument 50 dbg_print(lml, MSG_ORIG(MSG_STR_EMPTY)); in Dbg_support_req() 51 dbg_print(lml, MSG_INTL(MSG_SUP_REQ), define, str); in Dbg_support_req() 55 Dbg_support_load(Lm_list *lml, const char *obj, const char *func) in Dbg_support_load() argument 60 dbg_print(lml, MSG_INTL(MSG_SUP_ROUTINE), obj, func); in Dbg_support_load() 64 Dbg_support_vnone(Lm_list *lml, const char *obj) in Dbg_support_vnone() argument 69 dbg_print(lml, MSG_INTL(MSG_SUP_VNONE), obj); in Dbg_support_vnone() 73 Dbg_support_action(Lm_list *lml, const char *obj, const char *func, in Dbg_support_action() argument 94 dbg_print(lml, MSG_INTL(MSG_SUP_CALLING_1), func, obj); in Dbg_support_action() 96 dbg_print(lml, MSG_INTL(MSG_SUP_CALLING_2), func, obj, in Dbg_support_action()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | util.c | 197 DBG_CALL(Dbg_args_str2chr(lml, ndx, opt, c)); in str2chr() 208 DBG_CALL(Dbg_args_str2chr(lml, ndx, opt, c)); in str2chr() 308 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() 319 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() 344 } else if ((c = str2chr(lml, argc, ndx, argv, in ld_getopt() 371 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() 420 } else if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() 484 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() 515 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() 525 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | dlfcns.c | 65 Lm_list *lml; in _caller() local 519 remove_lml(lml); in dlclose_core() 553 Lm_list *lml; in dlclose_intn() local 892 free(lml); in dlmopen_intn() 897 free(lml); in dlmopen_intn() 947 remove_lml(lml); in dlmopen_intn() 956 remove_lml(lml); in dlmopen_intn() 957 lml = NULL; in dlmopen_intn() 1022 Lm_list *lml; in dlopen() local 1032 leave(lml, 0); in dlopen() [all …]
|
H A D | analyze.c | 382 lml->lm_init++; in _relocate_lmc() 910 Lm_list *lml = LIST(lmp); in update_mode() local 1038 Lm_list *lml; in is_devinode_loaded() local 1516 (lml == &lml_main)) { in find_file() 1859 remove_so(lml, nlmp, clmp); in load_file() 2617 Lm_list *lml; in lookup_sym_interpose() local 2650 lml = LIST(clmp); in lookup_sym_interpose() 2651 lmp = lml->lm_head; in lookup_sym_interpose() 2718 lmp = lml->lm_head; in lookup_sym_interpose() 2945 Lm_list *lml = LIST(clmp); in _lookup_sym() local [all …]
|
H A D | util.c | 170 fptr(lml); in rd_event() 864 Lm_list *lml; in atexit_fini() local 871 lml = &lml_main; in atexit_fini() 887 unused(lml); in atexit_fini() 913 unused(lml); in atexit_fini() 923 lml = &lml_main; in atexit_fini() 955 unused(lml); in atexit_fini() 962 lml = &lml_rtld; in atexit_fini() 1058 (lml->lm_obj)++; in lm_append() 1228 (lml->lm_obj)--; in lm_delete() [all …]
|