/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dlink_init.c | 50 Link_map *lmp; local 55 if (dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &lmp) == -1 || lmp == NULL) { 65 dtrace_link_dof(&__SUNW_dof, lmid, lmp->l_name, lmp->l_addr);
|
H A D | dlink_audit.c | 70 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument 83 node->ol_name = strdup(lmp->l_name); 84 node->ol_addr = lmp->l_addr;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | _inline_gen.h | 33 find_segment(caddr_t roffset, Rt_map *lmp) argument 35 mmapobj_result_t *mpp = MMAPS(lmp); 36 uint_t mnum = MMAPCNT(lmp);
|
H A D | _inline_reloc.h | 38 _elf_reloc_relative(ulong_t rbgn, ulong_t base, Rt_map *lmp, APlist **textrel, argument 52 if ((mpp = find_segment((caddr_t)roffset, lmp)) == NULL) 60 ((set_prot(lmp, mpp, 1) == 0) || 98 Rt_map *lmp, APlist **textrel, int add) 103 if (_elf_reloc_relative(rbgn, base, lmp, textrel, add) == 0) 127 ulong_t base, Rt_map *lmp, APlist **textrel, int add) 130 if (_elf_reloc_relative(rbgn, base, lmp, textrel, add) == 0) 145 is_sym_deferred(ulong_t rbgn, ulong_t base, Rt_map *lmp, APlist **textrel, argument 159 sipe = (Syminfo *)((char *)sip + (sndx * SYMINENT(lmp))); 174 if ((FLAGS(lmp) 97 elf_reloc_relative(ulong_t rbgn, ulong_t rend, ulong_t rsize, ulong_t base, Rt_map *lmp, APlist **textrel, int add) argument 126 elf_reloc_relative_count(ulong_t rbgn, ulong_t rcount, ulong_t rsize, ulong_t base, Rt_map *lmp, APlist **textrel, int add) argument [all...] |
H A D | move.c | 53 elf_move_bad(Lm_list *lml, Rt_map *lmp, Sym *sym, ulong_t num, Addr addr) argument 66 name = (const char *)(STRTAB(lmp) + sym->st_name); 81 move_data(Rt_map *lmp, APlist **textrel) argument 83 Lm_list *lml = LIST(lmp); 84 Move *mv = MOVETAB(lmp); 85 ulong_t num, mvnum = MOVESZ(lmp) / MOVEENT(lmp); 94 moves = (lmp == lml->lm_head) && ((FLAGS1(lmp) & FL1_RT_DTFLAGS) == 0); 96 DBG_CALL(Dbg_move_data(lmp)); [all...] |
H A D | tls.c | 118 tls_modaddrem(Rt_map *lmp, uint_t flag) argument 120 Lm_list *lml = LIST(lmp); 127 } else if (FLAGS1(lmp) & FL1_RT_TLSADD) { 133 tlsphdr = PTTLS(lmp); 136 tmi.tm_modname = PATHNAME(lmp); 137 tmi.tm_modid = TLSMODID(lmp); 140 if (!(FLAGS(lmp) & FLG_RT_FIXED)) 142 ADDR(lmp)); 149 DBG_CALL(Dbg_tls_modactivity(LIST(lmp), &tmi, flag)); 156 FLAGS1(lmp) | 170 tls_assign(Lm_list *lml, Rt_map *lmp, Phdr *phdr) argument 256 tls_statmod(Lm_list *lml, Rt_map *lmp) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | dlamd64getunwind.c | 39 Rt_map *lmp; local 72 lmp = _caller(pc, CL_NONE); 74 if (lmp) { 80 if ((mpp = find_segment(pc, lmp)) == NULL) 83 unwindinfo->dlui_objname = (char *)PATHNAME(lmp); 87 if (PTUNWIND(lmp) && (mpp->mr_addr)) { 90 if (FLAGS(lmp) & FLG_RT_FIXED) 93 base = ADDR(lmp); 96 (void *)(PTUNWIND(lmp)->p_vaddr + base); 98 (void *)(PTUNWIND(lmp) 120 Rt_map *lmp; local [all...] |
H A D | _setup.c | 65 Rt_map *lmp; local 236 if ((lmp = setup((char **)_envp, (auxv_t *)_auxv, _flags, _platform, 243 return (LM_ENTRY_PT(lmp)());
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | plock.c | 78 struct link_map *lmp; /* link map walker */ local 117 lmp = _DYNAMIC.ld_un.ld_2->ld_loaded; 128 while (lmp) { 129 eh = (struct exec *)lmp->lm_addr; 144 lmp = lmp->lm_next;
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | common_sparc.c | 92 elf_regsyms(Rt_map *lmp) argument 105 for (dyn = DYN(lmp), dip = DYNINFO(lmp); 116 symdef = (Sym *)((unsigned long)SYMTAB(lmp) + 117 (rsymndx * SYMENT(lmp))); 131 sym2 = (STRTAB(lmp) + symdef->st_name); 143 if (LIST(lmp)->lm_flags & LML_FLG_TRC_WARN) { 147 sym1, NAME(lmp), sym2); 149 eprintf(LIST(lmp), ERR_FATAL, 153 sym1, NAME(lmp), sym [all...] |
H A D | _setup.c | 73 Rt_map *lmp; local 240 if ((lmp = setup((char **)_envp, (auxv_t *)_auxv, _flags, _platform, 253 return (LM_ENTRY_PT(lmp)());
|
/illumos-gate/usr/src/cmd/sgs/libcrle/common/ |
H A D | audit.c | 113 la_objopen(Link_map * lmp, Lmid_t lmid, uintptr_t *cookie) argument 119 !(FLAGS(LINKMAP_TO_RTMAP(lmp)) & FLG_RT_ISMAIN)) { 123 lmp->l_name); 125 *cookie = (uintptr_t)lmp->l_name;
|
H A D | dump.c | 72 Rt_map * lmp; local 81 lmp = ghp->gh_ownlmp; 82 FLAGS1(lmp) |= FL1_RT_CONFSET; 87 _membgn = ADDR(lmp); 88 _memend = (ADDR(lmp) + MSIZE(lmp));
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | unused.c | 32 Dbg_unused_unref(Rt_map *lmp, const char *depend) argument 39 dbg_print(LIST(lmp), MSG_INTL(MSG_USD_UNREF), NAME(lmp), depend);
|
H A D | move.c | 32 Dbg_move_data(Rt_map *lmp) argument 34 Lm_list *lml = LIST(lmp); 39 dbg_print(lml, MSG_INTL(MSG_MOVE_FILE), NAME(lmp));
|
H A D | tls.c | 96 Dbg_tls_static_resv(Rt_map *lmp, ulong_t size, ulong_t resv) argument 98 Lm_list *lml = LIST(lmp); 104 dbg_print(lml, MSG_INTL(MSG_TLS_STATBLOCK3), TLSMODID(lmp), NAME(lmp),
|
H A D | bindings.c | 202 Dbg_bind_pltpad_to(Rt_map *lmp, Addr pltpad, const char *dfile, argument 210 dbg_print(LIST(lmp), MSG_INTL(MSG_BND_PLTPAD_TO), EC_ADDR(pltpad), 211 NAME(lmp), dfile, sname); 215 Dbg_bind_pltpad_from(Rt_map *lmp, Addr pltpad, const char *sname) argument 222 dbg_print(LIST(lmp), MSG_INTL(MSG_BND_PLTPAD_FROM), EC_ADDR(pltpad), 223 NAME(lmp), sname);
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | symbindrep.c | 68 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument 73 (check_list(bindto_list, lmp->l_name))) 79 (check_list(bindfrom_list, lmp->l_name))) 82 *cookie = (uintptr_t)lmp->l_name;
|
/illumos-gate/usr/src/cmd/sgs/librtld/amd64/ |
H A D | _relocate.c | 125 Rt_map *lmp) 134 if (FLAGS(lmp) & FLG_RT_FIXED) 137 vaddr = ADDR(lmp); 149 LIST(lmp)); 124 apply_reloc(void *vrel, Reloc *reloc, const char *name, uchar_t *oaddr, Rt_map *lmp) argument
|
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | dynamic.c | 39 update_dynamic(Cache *cache, Cache *_cache, Rt_map *lmp, int flags, argument 73 if (dlmp = is_so_loaded(LIST(lmp), 78 for (APLIST_TRAVERSE(DEPENDS(lmp), idx, bdp)) { 200 (FLAGS1(lmp)) & MSK_RT_FILTER) 260 eprintf(LIST(lmp), ERR_WARNING,
|
/illumos-gate/usr/src/cmd/sgs/librtld/i386/ |
H A D | _relocate.c | 117 Rt_map *lmp) 126 if (FLAGS(lmp) & FLG_RT_FIXED) 129 vaddr = ADDR(lmp); 140 LIST(lmp)); 116 apply_reloc(void *vrel, Reloc *reloc, const char *name, uchar_t *oaddr, Rt_map *lmp) argument
|
/illumos-gate/usr/src/cmd/sgs/librtld/sparc/ |
H A D | _relocate.c | 115 Rt_map *lmp) 124 if (FLAGS(lmp) & FLG_RT_FIXED) 127 vaddr = ADDR(lmp); 141 LIST(lmp)); 114 apply_reloc(void *vrel, Reloc *reloc, const char *name, uchar_t *oaddr, Rt_map *lmp) argument
|
/illumos-gate/usr/src/cmd/sgs/librtld/sparcv9/ |
H A D | _relocate.c | 115 Rt_map *lmp) 124 if (FLAGS(lmp) & FLG_RT_FIXED) 127 vaddr = ADDR(lmp); 141 LIST(lmp)); 114 apply_reloc(void *vrel, Reloc *reloc, const char *name, uchar_t *oaddr, Rt_map *lmp) argument
|
/illumos-gate/usr/src/cmd/sgs/moe/common/ |
H A D | moe.c | 131 Link_map *lmp; local 133 if (dlinfo(handle, RTLD_DI_LINKMAP, &lmp) == -1) { 145 lmp->l_name); 148 lmp->l_name);
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | _setup.c | 70 Rt_map *lmp; local 236 if ((lmp = setup((char **)_envp, (auxv_t *)_auxv, _flags, _platform, 243 return (LM_ENTRY_PT(lmp)());
|