/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | audit.c | 804 _audit_pltenter(APlist *list, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, argument 809 Lm_list *rlml = LIST(rlmp); 824 if ((racp = _audit_client(AUDINFO(rlmp), almp)) == NULL) 855 audit_pltenter(Rt_map *rlmp, Rt_map *dlmp, Sym *sym, uint_t ndx, argument 871 _audit_pltenter(auditors->ad_list, rlmp, dlmp, &nsym, 873 if (AUDITORS(rlmp) && 874 (AUDITORS(rlmp)->ad_flags & LML_TFLG_AUD_PLTENTER)) 875 _audit_pltenter(AUDITORS(rlmp)->ad_list, rlmp, dlmp, &nsym, 879 leave(LIST(rlmp), 890 _audit_pltexit(APlist *list, uintptr_t retval, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, uint_t ndx) argument 935 audit_pltexit(uintptr_t retval, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, uint_t ndx) argument 969 _audit_symbind(APlist *list, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, uint_t ndx, uint_t *flags, int *called) argument 1046 audit_symbind(Rt_map *rlmp, Rt_map *dlmp, Sym *sym, uint_t ndx, Addr value, uint_t *flags) argument [all...] |
H A D | setup.c | 200 Rt_map *rlmp, *mlmp, *clmp, **tobj = NULL; local 433 if ((rlmp = elf_new_lmp(&lml_rtld, ALIST_OFF_DATA, &fdr, 438 MMAPS(rlmp) = mpp; 439 MMAPCNT(rlmp) = 2; 440 PADSTART(rlmp) = (ulong_t)mpp[0].mr_addr; 441 PADIMLEN(rlmp) = (ulong_t)mpp[0].mr_addr + (ulong_t)mpp[1].mr_addr + 444 MODE(rlmp) |= (RTLD_LAZY | RTLD_NODELETE | RTLD_GLOBAL | RTLD_WORLD); 445 FLAGS(rlmp) |= (FLG_RT_ANALYZED | FLG_RT_RELOCED | FLG_RT_INITDONE | 453 interp->i_faddr = (caddr_t)ADDR(rlmp); 454 ldso_plt_init(rlmp); [all...] |
H A D | dlfcns.c | 188 * rlmp - represents the reference link-map for which the handle is being 193 * rdflags - provide group dependency flags for the reference link-map rlmp, 200 hdl_create(Lm_list *lml, Rt_map *rlmp, Rt_map *clmp, uint_t hflags, argument 214 alpp = &(HANDLES(rlmp)); 281 ghp->gh_ownlmp = rlmp; 282 ghp->gh_ownlml = LIST(rlmp); 284 if (hdl_add(ghp, rlmp, rdflags, NULL) == NULL) 301 LIST(rlmp)->lm_flags |= LML_FLG_GROUPSEXIST;
|
H A D | elf.c | 2407 elf_copy_reloc(char *name, Sym *rsym, Rt_map *rlmp, void *radd, Sym *dsym, argument 2411 Lm_list *lml = LIST(rlmp); 2415 rc.r_rlmp = rlmp; /* associated link-map */ 2434 if (aplist_append(©_S(rlmp), dlmp, 2455 NAME(rlmp), EC_XWORD(rsym->st_size), 2462 NAME(rlmp));
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 105 elf_plt_trace_write(uint_t roffset, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, argument 117 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts + 129 Lm_list *lml = LIST(rlmp); 163 *dyndata++ = (uintptr_t)rlmp; 918 _elf_copy_reloc(const char *name, Rt_map *rlmp, Rt_map *dlmp) argument 934 SLOOKUP_INIT(sl, name, rlmp, rlmp, ld_entry_cnt, 0, 0, 0, 0, 942 SLOOKUP_INIT(sl, name, rlmp, dlmp, ld_entry_cnt, 0, 0, 0, 0, 959 if (!(FLAGS(rlmp) & FLG_RT_FIXED)) 960 ref += ADDR(rlmp); [all...] |
H A D | boot_elf.s | 133 pushl REFLMP_OFF(%edi) / arg0 (rlmp) 252 pushl REFLMP_OFF(%edi) / arg1 (rlmp)
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 125 elf_plt_trace_write(ulong_t roffset, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, argument 137 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts + 149 Lm_list *lml = LIST(rlmp); 183 *dyndata++ = (uintptr_t)rlmp;
|
H A D | boot_elf.s | 265 movq REFLMP_OFF(%r11), %rdi / arg1 (rlmp) 467 movq REFLMP_OFF(%r11), %rsi / arg2 (rlmp)
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 238 elf_plt_trace_write(caddr_t addr, Rela *rptr, Rt_map *rlmp, Rt_map *dlmp, argument 261 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts + 273 Lm_list *lml = LIST(rlmp); 317 *dyndata++ = (uintptr_t)rlmp;
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 386 elf_plt_trace_write(caddr_t addr, Rela *rptr, Rt_map *rlmp, Rt_map *dlmp, argument 409 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts + 420 Lm_list *lml = LIST(rlmp); 440 *dyndata++ = (Addr)rlmp;
|