Lines Matching defs:lml

328 	Lm_list	*lml = &lml_rtld;
329 Rt_map *lmp = lml->lm_head;
331 if (lml->lm_flags & LML_FLG_PLTREL)
334 if (elf_needed(lml, ALIST_OFF_DATA, lmp, NULL) == 0)
353 lml->lm_flags |= LML_FLG_PLTREL;
368 Lm_list *lml = LIST(clmp);
387 if (lml->lm_flags & LML_FLG_TRC_ENABLE)
425 if ((lmco = create_cntl(lml, 0)) == NULL) {
434 load_one(lml, lmco, palp, clmp, MODE(clmp), flags, hdl, in_nfavl);
450 ((nlmp = analyze_lmc(lml, lmco, nlmp, clmp, in_nfavl)) == NULL) ||
451 (relocate_lmc(lml, lmco, clmp, nlmp, in_nfavl) == 0)))
460 remove_lmc(lml, clmp, lmco, name);
466 remove_cntl(lml, lmco);
507 Lm_list *lml = LIST(clmp);
527 if ((lml->lm_flags & LML_FLG_TRC_VERBOSE) &&
558 DBG_CALL(Dbg_ver_need_entry(lml, 0, need, version));
581 if (lml->lm_flags & LML_FLG_TRC_ENABLE) {
584 if (!(lml->lm_flags & LML_FLG_TRC_VERBOSE))
613 eprintf(lml, ERR_FATAL,
620 DBG_CALL(Dbg_ver_need_done(lml));
631 elf_needed(Lm_list *lml, Aliste lmco, Rt_map *clmp, int *in_nfavl)
636 Word lmflags = lml->lm_flags;
672 if ((dip->di_flags & FLG_DI_LAZY) && (lml->lm_head == clmp) &&
711 if (lml->lm_flags & LML_FLG_TRC_ENABLE)
725 ((nlmp = load_one(lml, lmco, palp, clmp, MODE(clmp),
756 lml->lm_lazy++;
826 Lm_list *lml = LIST(ilmp);
867 elf_config_flt(lml, PATHNAME(ilmp), filtees,
871 DBG_CALL(Dbg_file_filter(lml, NAME(ilmp), filtees, 0));
872 if ((lml->lm_flags &
927 if ((lmco = create_cntl(lml, 0)) == NULL)
934 DBG_CALL(Dbg_cap_filter(lml, dir, ilmp));
938 if ((lml->lm_flags & LML_FLG_TRC_ENABLE) &&
944 DBG_CALL(Dbg_cap_filter(lml, dir, 0));
965 remove_cntl(lml, lmco);
978 DBG_CALL(Dbg_file_filtee(lml, NAME(ilmp), filtee, 0));
1051 if (nlmp && ((lml->lm_tflags | AFLAGS(ilmp)) &
1066 if (load_trace(lml, pdp, clmp, &fd) == NULL)
1073 if ((lmco = create_cntl(lml, 0)) == NULL)
1079 if ((nlmp = load_path(lml, lmco, ilmp, mode,
1103 if (nlmp && ((lml->lm_tflags | FLAGS1(ilmp)) &
1119 if (nlmp && ghp && (((nlmp = analyze_lmc(lml,
1121 (relocate_lmc(lml, lmco, ilmp, nlmp,
1143 DBG_CALL(Dbg_file_filtee(lml, 0, filtee,
1154 remove_lmc(lml, clmp, lmco, name);
1160 remove_cntl(lml, lmco);
1649 elf_new_lmp(Lm_list *lml, Aliste lmco, Fdesc *fdp, Addr addr, size_t msize,
1664 DBG_CALL(Dbg_file_elf(lml, name, addr, msize, lml->lm_lmidstr, lmco));
1737 LIST(lmp) = lml;
1757 Word lmtflags = lml->lm_tflags;
2083 if (lml->lm_flags & LML_FLG_STARTREL) {
2085 if (lml->lm_flags & LML_FLG_TRC_ENABLE)
2119 if ((rti = alist_append(&lml->lm_rti, NULL,
2279 lml->lm_flags |= LML_FLG_LOCAUDIT;
2284 if (tphdr && (tls_assign(lml, lmp, tphdr) == 0)) {
2367 lm_append(lml, lmco, lmp);
2411 Lm_list *lml = LIST(rlmp);
2428 if (!(lml->lm_flags & LML_FLG_TRC_WARN))
2436 if (!(lml->lm_flags & LML_FLG_TRC_WARN))
2451 if (lml->lm_flags & LML_FLG_TRC_WARN) {
2472 DBG_CALL(Dbg_reloc_apply_val(lml, ELF_DBG_RTLD, (Xword)radd,
2692 Lm_list *lml;
2715 lml = LIST(clmp);
2716 lmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, CNTL(clmp));
2879 Lm_list *lml = LIST(lmp);
2882 if ((lml->lm_flags & LML_FLG_TRC_ENABLE) &&
2884 (lml->lm_flags & LML_FLG_TRC_VERBOSE)))
2912 Dbg_reloc_error(lml, ELF_DBG_RTLD, M_MACH, M_REL_SHT_TYPE, rel, name);
2922 Lm_list *lml = LIST(lmp);
2932 DBG_CALL(Dbg_reloc_in(lml, ELF_DBG_RTLD, M_MACH,
2934 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_REL_BADTLS),
2949 if (tls_assign(lml, lmp, PTTLS(lmp)) == 0) {
2950 DBG_CALL(Dbg_reloc_in(lml, ELF_DBG_RTLD, M_MACH,
2952 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_REL_BADTLS),
2984 Lm_list *lml = LIST(lmp);
2989 if (lml->lm_flags & LML_FLG_IGNRELERR)
2997 if (lml->lm_flags & LML_FLG_TRC_WARN) {
2999 ((lml->lm_flags & LML_FLG_TRC_NOPAREXT) != 0)) {
3009 DBG_CALL(Dbg_reloc_in(lml, ELF_DBG_RTLD, M_MACH, M_REL_SHT_TYPE, rel,
3011 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_REL_NOSYM), NAME(lmp),