/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
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() 49 dbg_print(lml, MSG_INTL(MSG_FIL_ANALYZE), NAME(lmp), in Dbg_file_analyze() 54 Dbg_file_mmapobj(Lm_list *lml, const char *name, mmapobj_result_t *ompp, in Dbg_file_mmapobj() argument 65 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_file_mmapobj() 66 dbg_print(lml, MSG_INTL(MSG_FIL_MMAPOBJ), name, onum); in Dbg_file_mmapobj() 79 dbg_print(lml, MSG_INTL(MSG_FIL_MMAPOBJ_1), mnum, in Dbg_file_mmapobj() 81 dbg_print(lml, MSG_INTL(MSG_FIL_MMAPOBJ_2), in Dbg_file_mmapobj() 84 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_file_mmapobj() 88 Dbg_file_elf(Lm_list *lml, const char *name, Addr addr, size_t size, in Dbg_file_elf() argument [all …]
|
H A D | version.c | 33 Dbg_ver_avail_title(Lm_list *lml, const char *file) in Dbg_ver_avail_title() argument 38 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_avail_title() 39 dbg_print(lml, MSG_INTL(MSG_VER_AVAIL_1), file); in Dbg_ver_avail_title() 40 dbg_print(lml, MSG_INTL(MSG_VER_AVAIL_2)); in Dbg_ver_avail_title() 44 Dbg_ver_def_title(Lm_list *lml, const char *file) in Dbg_ver_def_title() argument 49 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_def_title() 50 dbg_print(lml, MSG_INTL(MSG_VER_DEF_TITLE), file); in Dbg_ver_def_title() 51 Elf_ver_def_title(lml); in Dbg_ver_def_title() 55 Dbg_ver_need_title(Lm_list *lml, const char *file) in Dbg_ver_need_title() argument 60 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ver_need_title() [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() 44 dbg_print(lml, MSG_INTL(MSG_BASIC_COLLECT)); 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() 55 dbg_print(lml, MSG_INTL(MSG_BASIC_CREATE)); 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() [all …]
|
H A D | map.c | 37 Dbg_map_pass(Lm_list *lml, Boolean enable, const char *file, in Dbg_map_pass() argument 46 dbg_print(lml, fmt, file, EC_LINENO(lineno), directive); in Dbg_map_pass() 54 Dbg_map_cexp_id(Lm_list *lml, Boolean add, const char *file, in Dbg_map_cexp_id() argument 63 dbg_print(lml, fmt, file, EC_LINENO(lineno), id); in Dbg_map_cexp_id() 67 Dbg_map_version(Lm_list *lml, const char *version, const char *name, int scope) in Dbg_map_version() argument 81 dbg_print(lml, MSG_INTL(MSG_MAP_SYM_VER_1), str, version, in Dbg_map_version() 84 dbg_print(lml, MSG_INTL(MSG_MAP_SYM_VER_2), str, in Dbg_map_version() 89 Dbg_map_size_new(Lm_list *lml, const char *symname, const char *segname, in Dbg_map_size_new() argument 95 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_map_size_new() 96 dbg_print(lml, MSG_INTL(MSG_MAP_SYM_SIZE), EC_LINENO(lineno), segname, in Dbg_map_size_new() [all …]
|
H A D | audit.c | 59 Dbg_audit_interface(Lm_list *lml, const char *lib, const char *interface) in Dbg_audit_interface() argument 64 dbg_print(lml, MSG_INTL(MSG_AUD_INTERFACE), lib, interface); in Dbg_audit_interface() 68 Dbg_audit_version(Lm_list *lml, const char *lib, uint_t overs, uint_t nvers) in Dbg_audit_version() argument 73 dbg_print(lml, MSG_INTL(MSG_AUD_VERSION), lib, overs, nvers); in Dbg_audit_version() 77 Dbg_audit_activity(Lm_list *lml, const char *lib, const char *obj, uint_t flags) in Dbg_audit_activity() argument 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() 90 Dbg_audit_preinit(Lm_list *lml, const char *lib, const char *obj) in Dbg_audit_preinit() argument 95 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_audit_preinit() 96 dbg_print(lml, MSG_INTL(MSG_AUD_PREINIT), lib, obj); in Dbg_audit_preinit() [all …]
|
H A D | cap.c | 35 Dbg_cap_candidate(Lm_list *lml, const char *name) in Dbg_cap_candidate() argument 40 dbg_print(lml, MSG_INTL(MSG_CAP_CANDIDATE), name); in Dbg_cap_candidate() 44 Dbg_cap_filter(Lm_list *lml, const char *dir, Rt_map *flmp) in Dbg_cap_filter() argument 49 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_cap_filter() 51 dbg_print(lml, MSG_INTL(MSG_CAP_FILTER_1), dir, NAME(flmp)); in Dbg_cap_filter() 53 dbg_print(lml, MSG_INTL(MSG_CAP_FILTER_2), dir); in Dbg_cap_filter() 57 Dbg_cap_identical(Lm_list *lml, const char *file1, const char *file2) in Dbg_cap_identical() argument 62 dbg_print(lml, MSG_INTL(MSG_CAP_IDENTICAL), file1, file2); in Dbg_cap_identical() 66 Dbg_cap_val(Lm_list *lml, Syscapset *sys, Syscapset *alt, Half mach) in Dbg_cap_val() argument 75 Dbg_util_nl(lml, DBG_NL_FRC); in Dbg_cap_val() [all …]
|
H A D | relocate.c | 34 Dbg_reloc_apply_reg(Lm_list *lml, int caller, Half mach, Xword off, Xword value) in Dbg_reloc_apply_reg() argument 46 Elf_reloc_apply_reg(lml, caller, mach, off, value); in Dbg_reloc_apply_reg() 50 Dbg_reloc_apply_val(Lm_list *lml, int caller, Xword off, Xword value) in Dbg_reloc_apply_val() argument 62 Elf_reloc_apply_val(lml, caller, off, value); in Dbg_reloc_apply_val() 66 Dbg_reloc_error(Lm_list *lml, int caller, Half mach, Word type, void *reloc, in Dbg_reloc_error() argument 74 Elf_reloc_entry_1(lml, caller, MSG_INTL(MSG_STR_IN), mach, type, reloc, in Dbg_reloc_error() 81 Lm_list *lml = LIST(lmp); in Dbg_reloc_run() local 100 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_reloc_run() 101 dbg_print(lml, MSG_INTL(MSG_REL_START), name, str); in Dbg_reloc_run() 106 Elf_reloc_title(lml, ELF_DBG_RTLD, rtype); in Dbg_reloc_run() [all …]
|
H A D | libs.c | 30 Dbg_libs_audit(Lm_list *lml, const char *opath, const char *npath) in Dbg_libs_audit() argument 39 dbg_print(lml, MSG_INTL(MSG_LIB_SKIP), opath); in Dbg_libs_audit() 41 dbg_print(lml, MSG_INTL(MSG_LIB_ALTER), npath); in Dbg_libs_audit() 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() 51 dbg_print(lml, MSG_INTL(MSG_LIB_FIND), name); in Dbg_libs_find() 55 Dbg_libs_found(Lm_list *lml, const char *path, int alter) in Dbg_libs_found() argument 60 dbg_print(lml, MSG_INTL(MSG_LIB_TRYING), path, alter ? in Dbg_libs_found() 65 Dbg_libs_insecure(Lm_list *lml, const char *path, int usable) in Dbg_libs_insecure() argument 71 dbg_print(lml, MSG_INTL(MSG_LIB_INUSE), path); in Dbg_libs_insecure() [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() 40 dbg_print(lml, MSG_INTL(MSG_DL_IPHDR_ENTER), NAME(clmp)); in Dbg_dl_iphdr_enter() 41 dbg_print(lml, MSG_INTL(MSG_DL_IPHDR_MAPCNT), cnt_map, cnt_unmap); in Dbg_dl_iphdr_enter() 45 Dbg_dl_iphdr_callback(Lm_list *lml, struct dl_phdr_info *info) in Dbg_dl_iphdr_callback() argument 50 dbg_print(lml, MSG_INTL(MSG_DL_IPHDR_CALLBACK)); in Dbg_dl_iphdr_callback() 51 dbg_print(lml, MSG_INTL(MSG_DL_IPHDR_NAME), info->dlpi_name); in Dbg_dl_iphdr_callback() 52 dbg_print(lml, MSG_INTL(MSG_DL_IPHDR_ADDR), EC_ADDR(info->dlpi_addr)); in Dbg_dl_iphdr_callback() 53 dbg_print(lml, MSG_INTL(MSG_DL_IPHDR_PHDR), in Dbg_dl_iphdr_callback() 59 Dbg_dl_iphdr_mapchange(Lm_list *lml, u_longlong_t cnt_map, in Dbg_dl_iphdr_mapchange() argument [all …]
|
H A D | syms.c | 35 Lm_list *lml = LIST(lmp); in Dbg_syms_lookup() local 40 dbg_print(lml, MSG_INTL(MSG_SYM_LOOKUP), Dbg_demangle_name(name), in Dbg_syms_lookup() 61 Lm_list *lml = LIST(lmp); in Dbg_syms_cap_lookup() local 93 dbg_print(lml, MSG_INTL(captype[type]), Dbg_demangle_name(name), in Dbg_syms_cap_lookup() 101 Lm_list *lml = LIST(lmp); in Dbg_syms_ignore_gnuver() local 106 dbg_print(lml, MSG_INTL(MSG_SYM_IGNGNUVER), Dbg_demangle_name(name), in Dbg_syms_ignore_gnuver() 111 Dbg_syms_lazy_rescan(Lm_list *lml, const char *name) in Dbg_syms_lazy_rescan() argument 116 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_syms_lazy_rescan() 117 dbg_print(lml, MSG_INTL(MSG_SYM_LAZY_RESCAN), Dbg_demangle_name(name)); in Dbg_syms_lazy_rescan() 121 Dbg_syms_ar_title(Lm_list *lml, const char *file, Boolean again) in Dbg_syms_ar_title() argument [all …]
|
H A D | move.c | 34 Lm_list *lml = LIST(lmp); in Dbg_move_data() local 39 dbg_print(lml, MSG_INTL(MSG_MOVE_FILE), NAME(lmp)); in Dbg_move_data() 40 dbg_print(lml, MSG_INTL(MSG_MOVE_TITLE2)); in Dbg_move_data() 44 Dbg_move_adjexpandreloc(Lm_list *lml, Xword offset, const char *name) in Dbg_move_adjexpandreloc() argument 51 dbg_print(lml, MSG_INTL(MSG_MOVE_ADJEXPAND), Dbg_demangle_name(name), in Dbg_move_adjexpandreloc() 56 Dbg_move_adjmovereloc(Lm_list *lml, Xword offset1, Xword offset2, in Dbg_move_adjmovereloc() argument 64 dbg_print(lml, MSG_INTL(MSG_MOVE_ADJMOVE), Dbg_demangle_name(name), in Dbg_move_adjmovereloc() 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() 81 Dbg_move_parexpn(Lm_list *lml, const char *name, const char *reason) in Dbg_move_parexpn() argument [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() 43 dbg_print(lml, MSG_INTL(MSG_UTL_TRANS), NAME(lmp)); 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() 66 dbg_print(lml, MSG_INTL(MSG_UTL_INIT), str, NAME(lmp)); 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() [all …]
|
H A D | sections.c | 95 Dbg_sec_strtab(Lm_list *lml, Os_desc *osp, Str_tbl *stp) in Dbg_sec_strtab() argument 105 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_sec_strtab() 107 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_COMP), osp->os_name, in Dbg_sec_strtab() 110 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_STND), osp->os_name, in Dbg_sec_strtab() 117 dbg_print(lml, MSG_ORIG(MSG_STR_EMPTY)); in Dbg_sec_strtab() 118 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_HD), osp->os_name, in Dbg_sec_strtab() 127 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_BCKT), cnt); in Dbg_sec_strtab() 134 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_MSTR), in Dbg_sec_strtab() 138 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_SUFSTR), in Dbg_sec_strtab() 150 Dbg_sec_genstr_compress(Lm_list *lml, const char *os_name, in Dbg_sec_genstr_compress() argument [all …]
|
H A D | segments.c | 36 Dbg_seg_desc_entry(Lm_list *lml, uchar_t osabi, Half mach, int ndx, in Dbg_seg_desc_entry() argument 44 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_seg_desc_entry() 45 dbg_print(lml, MSG_ORIG(MSG_SEG_DESC), ndx); in Dbg_seg_desc_entry() 47 dbg_print(lml, MSG_ORIG(MSG_SEG_NAME), sgp->sg_name); 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() 67 dbg_print(lml, MSG_ORIG(MSG_SEG_SIZESYM_TITLE)); in Dbg_seg_desc_entry() [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() 47 dbg_print(lml, MSG_ORIG(MSG_ELF_MAGIC), byte[EI_MAG0], 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() 71 dbg_print(lml, MSG_ORIG(MSG_ELF_FLAGS_FMT), flgs); in Elf_ehdr() 73 dbg_print(lml, MSG_ORIG(MSG_ELF_FLAGS), flgs); 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() 71 Dbg_tls_static_block(Lm_list *lml, void *list, ulong_t size, ulong_t resv) in Dbg_tls_static_block() argument 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() 91 dbg_print(lml, MSG_INTL(MSG_TLS_STATBLOCK2), EC_XWORD(size), in Dbg_tls_static_block() 98 Lm_list *lml = LIST(lmp); in Dbg_tls_static_resv() local [all …]
|
H A D | shdr.c | 33 Elf_shdr(Lm_list *lml, uchar_t osabi, Half mach, Shdr *shdr) in Elf_shdr() argument 38 dbg_print(lml, MSG_ORIG(MSG_SHD_ADDR), EC_ADDR(shdr->sh_addr), in Elf_shdr() 40 dbg_print(lml, MSG_ORIG(MSG_SHD_SIZE), EC_XWORD(shdr->sh_size), in Elf_shdr() 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() 57 dbg_print(lml, MSG_ORIG(MSG_SHD_ALIGN), EC_XWORD(shdr->sh_addralign)); in Elf_shdr() 61 Dbg_shdr_modified(Lm_list *lml, const char *obj, uchar_t osabi, Half mach, in Dbg_shdr_modified() argument 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() [all …]
|
H A D | entry.c | 35 Dbg_ent_entry(Lm_list *lml, uchar_t osabi, Half mach, Ent_desc *enp) in Dbg_ent_entry() argument 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() 77 Dbg_ent_print(Lm_list *lml, uchar_t osabi, Half mach, APlist *alp) in Dbg_ent_print() argument 85 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_ent_print() [all …]
|
H A D | statistics.c | 66 Lm_list *lml = ofl->ofl_lml; in rel_cache_statistics() local 79 dbg_print(lml, MSG_INTL(MSG_STATS_REL_CACHE), title, in rel_cache_statistics() 98 Lm_list *lml = ofl->ofl_lml; in rel_aux_cache_statistics() local 110 dbg_print(lml, MSG_INTL(MSG_STATS_REL_ACACHE), in rel_aux_cache_statistics() 122 Lm_list *lml = ofl->ofl_lml; in Dbg_statistics_ld() local 127 Dbg_util_nl(lml, DBG_NL_STD); in Dbg_statistics_ld() 128 dbg_print(lml, MSG_INTL(MSG_STATS_GENERAL)); in Dbg_statistics_ld() 131 dbg_print(lml, MSG_INTL(MSG_STATS_FILES), in Dbg_statistics_ld() 137 dbg_print(lml, MSG_INTL(MSG_STATS_SYMBOLS_OUT), in Dbg_statistics_ld() 141 dbg_print(lml, MSG_INTL(MSG_STATS_SYMBOLS_IN), in Dbg_statistics_ld() [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()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | dlfcns.c | 65 Lm_list *lml; in _caller() local 68 for (APLIST_TRAVERSE(dynlm_list, idx1, lml)) { in _caller() 72 for (ALIST_TRAVERSE(lml->lm_lists, idx2, lmc)) { in _caller() 201 hdl_create(Lm_list *lml, Rt_map *rlmp, Rt_map *clmp, uint_t hflags, in hdl_create() argument 213 alpp = &(lml->lm_handle); in hdl_create() 279 ghp->gh_ownlmp = lml->lm_head; in hdl_create() 280 ghp->gh_ownlml = lml; in hdl_create() 458 dlclose_core(Grp_hdl *ghp, Rt_map *clmp, Lm_list *lml) in dlclose_core() argument 518 if ((lml->lm_flags & (LML_FLG_BASELM | LML_FLG_RTLDLM)) == 0) in dlclose_core() 519 remove_lml(lml); in dlclose_core() [all …]
|
H A D | analyze.c | 104 analyze_lmc(Lm_list *lml, Aliste nlmco, Rt_map *nlmp, Rt_map *clmp, in analyze_lmc() argument 119 nlmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, nlmco); in analyze_lmc() 151 if ((olmp = elf_obj_fini(lml, lmp, clmp, in analyze_lmc() 153 if (lml->lm_flags & LML_FLG_TRC_ENABLE) in analyze_lmc() 182 if (LM_NEEDED(lmp)(lml, nlmco, lmp, in_nfavl) == 0) { in analyze_lmc() 183 if (lml->lm_flags & LML_FLG_TRC_ENABLE) in analyze_lmc() 210 nlmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, nlmco); in analyze_lmc() 218 nlmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, nlmco); in analyze_lmc() 286 relocate_so(Lm_list *lml, Rt_map *lmp, int *relocated, int now, int *in_nfavl) in relocate_so() argument 295 if (((lml->lm_flags & LML_FLG_TRC_ENABLE) == 0) || in relocate_so() [all …]
|
H A D | util.c | 64 rtld_db_dlactivity(Lm_list *lml) in rtld_db_dlactivity() argument 66 DBG_CALL(Dbg_util_dbnotify(lml, r_debug.rtd_rdebug.r_rdevent, in rtld_db_dlactivity() 75 rtld_db_preinit(Lm_list *lml) in rtld_db_preinit() argument 77 DBG_CALL(Dbg_util_dbnotify(lml, r_debug.rtd_rdebug.r_rdevent, in rtld_db_preinit() 86 rtld_db_postinit(Lm_list *lml) in rtld_db_postinit() argument 88 DBG_CALL(Dbg_util_dbnotify(lml, r_debug.rtd_rdebug.r_rdevent, in rtld_db_postinit() 120 rd_event(Lm_list *lml, rd_event_e event, r_state_e state) in rd_event() argument 170 fptr(lml); in rd_event() 351 fpavl_recorded(Lm_list *lml, const char *name, uint_t hash, avl_index_t *where) in fpavl_recorded() argument 358 if ((lml->lm_fpavl == NULL) && in fpavl_recorded() [all …]
|
H A D | remove.c | 72 purge_exit_handlers(Lm_list *lml, Rt_map **tobj) in purge_exit_handlers() argument 83 if ((fptr = lml->lm_lcs[CI_ATEXIT].lc_un.lc_func) == NULL) in purge_exit_handlers() 134 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_ARG_ATEXIT), error); in purge_exit_handlers() 169 remove_lml(Lm_list *lml) in remove_lml() argument 171 if (lml && (lml->lm_head == NULL)) { in remove_lml() 172 if (lml->lm_lmidstr) in remove_lml() 173 free(lml->lm_lmidstr); in remove_lml() 174 if (lml->lm_alp) in remove_lml() 175 free(lml->lm_alp); in remove_lml() 176 if (lml->lm_lists) in remove_lml() [all …]
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | util.c | 188 str2chr(Lm_list *lml, int ndx, int argc, char **argv, char *arg, int c, in str2chr() argument 197 DBG_CALL(Dbg_args_str2chr(lml, ndx, opt, c)); in str2chr() 208 DBG_CALL(Dbg_args_str2chr(lml, ndx, opt, c)); in str2chr() 267 ld_getopt(Lm_list *lml, int ndx, int argc, char **argv) in ld_getopt() argument 277 if ((c = str2chr(lml, ndx, argc, argv, arg, 'R', in ld_getopt() 285 if ((c = str2chr(lml, ndx, argc, argv, arg, 'G', in ld_getopt() 290 } else if ((c = str2chr(lml, ndx, argc, argv, arg, 'h', in ld_getopt() 298 if ((c = str2chr(lml, ndx, argc, argv, arg, 'z', in ld_getopt() 308 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() 319 if ((c = str2chr(lml, ndx, argc, argv, in ld_getopt() [all …]
|