Home
last modified time | relevance | path

Searched refs:Rt_map (Results 1 – 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A D_rtld.h656 extern Rt_map *analyze_lmc(Lm_list *, Aliste, Rt_map *, Rt_map *,
659 extern int bind_one(Rt_map *, Rt_map *, uint_t);
662 extern void call_fini(Lm_list *, Rt_map **, Rt_map *);
664 extern int callable(Rt_map *, Rt_map *, Grp_hdl *, uint_t);
672 Rt_map *, Rt_map *, const char *, int, uint_t,
692 Rt_map *);
714 extern void is_dep_init(Rt_map *, Rt_map *);
722 extern void lm_delete(Lm_list *, Rt_map *, Rt_map *);
751 extern int relocate_lmc(Lm_list *, Aliste, Rt_map *, Rt_map *,
759 extern void remove_so(Lm_list *, Rt_map *, Rt_map *);
[all …]
H A D_audit.h96 Rt_map *al_lmp; /* object link-map */
130 extern void audit_desc_cleanup(Rt_map *);
131 extern void audit_info_cleanup(Rt_map *);
133 extern int audit_objopen(Rt_map *, Rt_map *);
134 extern int audit_objfilter(Rt_map *, const char *, Rt_map *,
136 extern void audit_activity(Rt_map *, uint_t);
137 extern void audit_preinit(Rt_map *);
139 extern void audit_objclose(Rt_map *, Rt_map *);
141 extern Addr audit_symbind(Rt_map *, Rt_map *, Sym *, uint_t,
143 extern Addr audit_pltenter(Rt_map *, Rt_map *, Sym *, uint_t,
[all …]
H A Dtsort.c74 Rt_map *lmp1 = *((Rt_map **)lmpp1); in compare()
75 Rt_map *lmp2 = *((Rt_map **)lmpp2); in compare()
95 Rt_map *lmp; in sort_scc()
251 Rt_map *tlmp; in visit()
305 dep_visit(Lm_list *, Rt_map *, uint_t, Rt_map *, Sort *, int);
474 Rt_map *lmp2; in trace_find_scc()
493 Rt_map *lmp1; in trace_sort()
548 Rt_map *tlmp; in r_initfirst()
592 Rt_map *tlmp; in f_initfirst()
663 Rt_map **
[all …]
H A D_elf.h44 extern int elf_config(Rt_map *);
49 extern int elf_copy_gen(Rt_map *);
52 Rt_map *, const void *);
55 extern Rt_map *elf_lazy_load(Rt_map *, Slookup *, uint_t, const char *,
61 Rt_map *, int *);
62 extern Rt_map *elf_obj_file(Lm_list *, Aliste, Rt_map *, const char *,
64 extern Rt_map *elf_obj_fini(Lm_list *, Rt_map *, Rt_map *, int *);
67 extern void elf_plt2_init(uint_t *, Rt_map *);
69 extern int elf_reloc(Rt_map *, uint_t, int *, APlist **);
70 extern void elf_reloc_bad(Rt_map *, void *, uchar_t, ulong_t,
[all …]
H A Daudit.c131 _audit_get_head_client(Rt_map *hlmp, Rt_map *almp) in _audit_get_head_client()
145 _audit_create_head_client(Rt_map *hlmp, Rt_map *almp) in _audit_create_head_client()
398 Rt_map *lmp; in audit_activity()
428 _audit_used_by_head(Rt_map *hlmp, Rt_map *almp) in _audit_used_by_head()
631 audit_objopen(Rt_map *clmp, Rt_map *nlmp) in audit_objopen()
750 audit_objclose(Rt_map *lmp, Rt_map *clmp) in audit_objclose()
855 audit_pltenter(Rt_map *rlmp, Rt_map *dlmp, Sym *sym, uint_t ndx, in audit_pltenter()
1144 Rt_map *clmp; in audit_preinit()
1220 Rt_map *lmp; in remove_auditor()
1383 Rt_map *hlmp; in audit_setup()
[all …]
H A Ddlfcns.c62 Rt_map *
73 Rt_map *lmp; in _caller()
104 Rt_map *clmp; in dlerror()
201 hdl_create(Lm_list *lml, Rt_map *rlmp, Rt_map *clmp, uint_t hflags, in hdl_create()
461 Rt_map *lmp; in dlclose_core()
596 Rt_map *clmp; in dlclose()
645 Rt_map *nlmp; in dlmopen_core()
1020 Rt_map *clmp; in dlopen()
1045 Rt_map *clmp; in dlmopen()
1275 Rt_map *nlmp; in dlsym_core()
[all …]
H A Danalyze.c103 Rt_map *
107 Rt_map *lmp; in analyze_lmc()
149 Rt_map *olmp; in analyze_lmc()
340 Rt_map *lmp; in _relocate_lmc()
572 Rt_map *lmp; in relocate_lmc()
782 Rt_map *
785 Rt_map *lmp; in is_so_loaded()
1754 Rt_map *
2403 Rt_map *
2532 Rt_map *
[all …]
H A Dremove.c75 Rt_map **_tobj; in purge_exit_handlers()
90 Rt_map *lmp = *_tobj; in purge_exit_handlers()
111 Rt_map *lmp = *_tobj; in purge_exit_handlers()
212 remove_so(Lm_list *lml, Rt_map *lmp, Rt_map *clmp) in remove_so()
428 Rt_map *dlmp = bdp->b_depend; in remove_lists()
510 Rt_map *lmp; in remove_incomplete()
629 Rt_map *lmp = gdp->gd_depend; in gdp_collect()
704 Rt_map *lmp; in remove_rescan()
856 Rt_map *lmp; in remove_lmc()
1022 Rt_map *lmp; in remove_hdl()
[all …]
H A D_inline_reloc.h38 _elf_reloc_relative(ulong_t rbgn, ulong_t base, Rt_map *lmp, APlist **textrel, in _elf_reloc_relative()
98 Rt_map *lmp, APlist **textrel, int add) in elf_reloc_relative()
127 ulong_t base, Rt_map *lmp, APlist **textrel, int add) in elf_reloc_relative_count()
145 is_sym_deferred(ulong_t rbgn, ulong_t base, Rt_map *lmp, APlist **textrel, in is_sym_deferred()
H A Dutil.c349 Rt_map *
617 is_dep_init(Rt_map *dlmp, Rt_map *clmp) in is_dep_init()
619 Rt_map **tobj; in is_dep_init()
780 Rt_map **pobj; in call_init()
800 call_fini(Lm_list *lml, Rt_map **tobj, Rt_map *clmp) in call_fini()
802 Rt_map **_tobj; in call_fini()
1029 Rt_map *lmp; in load_completion()
1090 Rt_map *tlmp; in lm_append()
1176 lm_delete(Lm_list *lml, Rt_map *lmp, Rt_map *clmp) in lm_delete()
1239 Rt_map *lmp; in lm_move()
[all …]
H A Dobject.c42 static Rt_map *olmp = NULL;
55 static Rt_map *
155 Rt_map *
156 elf_obj_file(Lm_list *lml, Aliste lmco, Rt_map *clmp, const char *name, in elf_obj_file()
230 Rt_map *
231 elf_obj_fini(Lm_list *lml, Rt_map *lmp, Rt_map *clmp, int *in_nfavl) in elf_obj_fini()
234 Rt_map *nlmp, *tlmp; in elf_obj_fini()
H A Delf.c303 Rt_map *lmp = lml->lm_head; in elf_rtld_load()
334 Rt_map *
339 Rt_map *nlmp; in elf_lazy_load()
476 elf_verify_vers(const char *name, Rt_map *clmp, Rt_map *nlmp) in elf_verify_vers()
621 Rt_map *nlmp = NULL; in elf_needed()
795 Rt_map *clmp = slp->sl_cmap;
796 Rt_map *ilmp = slp->sl_imap;
868 Rt_map *nlmp = NULL;
1622 Rt_map *
1627 Rt_map *lmp;
[all …]
H A Dcap.c412 cap_check_lmp_init(Rt_map *lmp) in cap_check_lmp_init()
468 cap_check_lmp(Rt_map *lmp, Rej_desc *rej) in cap_check_lmp()
556 cap_dir(Alist **fdalpp, Lm_list *lml, const char *dname, Rt_map *clmp, in cap_dir()
696 Rt_map *flmp, Rt_map *clmp, const char *ref, int mode, uint_t flags, in cap_filtees()
714 Rt_map *nlmp; in cap_filtees()
824 Rt_map *
825 load_cap(Lm_list *lml, Aliste lmco, const char *dir, Rt_map *clmp, in load_cap()
832 Rt_map *lmp = NULL; in load_cap()
1180 sym_cap_check(Cap *cptr, uint_t cndx, Syscapset *bestcapset, Rt_map *lmp, in sym_cap_check()
1411 Rt_map *ilmp = srp->sr_dmap; in cap_match()
/illumos-gate/usr/src/cmd/sgs/include/
H A Ddebug.h769 extern void Dbg_audit_ignore(Rt_map *);
805 extern void Dbg_bind_reject(Rt_map *, Rt_map *, const char *, int);
837 extern void Dbg_file_analyze(Rt_map *);
849 extern void Dbg_file_delete(Rt_map *);
871 extern void Dbg_file_prot(Rt_map *, int);
917 extern void Dbg_move_data(Rt_map *);
929 extern void Dbg_reloc_copy(Rt_map *, Rt_map *, const char *, int);
1035 extern void Dbg_util_call_fini(Rt_map *);
1040 extern void Dbg_util_edge_in(Lm_list *, Rt_map *, uint_t, Rt_map *,
1042 extern void Dbg_util_edge_out(Rt_map *, Rt_map *);
[all …]
H A Drtld.h62 typedef struct rt_map Rt_map; typedef
181 Rt_map *lc_lmp; /* function provider */
272 Rt_map *lc_head;
273 Rt_map *lc_tail;
288 Rt_map *lm_tail; /* link-map list */
532 Rt_map *gh_ownlmp; /* handle owners link-map */
566 Rt_map *gd_depend; /* dependency */
646 Rt_map *fpn_lmp; /* object link-map */
910 #define LINKMAP_TO_RTMAP(X) (Rt_map *)(void *)(X)
912 #define LINKMAP_TO_RTMAP(X) (Rt_map *)(X)
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dutil.c38 Dbg_util_call_main(Rt_map *lmp) in Dbg_util_call_main()
48 Dbg_util_call_init(Rt_map *lmp, int flag) in Dbg_util_call_init()
71 Dbg_util_intoolate(Rt_map *lmp) in Dbg_util_intoolate()
129 Dbg_util_call_array(Rt_map *lmp, void *addr, int ndx, Word shtype) in Dbg_util_call_array()
149 Dbg_util_call_fini(Rt_map *lmp) in Dbg_util_call_fini()
191 Dbg_util_scc_entry(Rt_map *lmp, uint_t idx) in Dbg_util_scc_entry()
204 Dbg_util_edge_in(Lm_list *lml, Rt_map *clmp, uint_t flags, Rt_map *dlmp, in Dbg_util_edge_in()
237 Dbg_util_edge_out(Rt_map *clmp, Rt_map *dlmp) in Dbg_util_edge_out()
249 Dbg_util_collect(Rt_map *lmp, int ndx, int flag) in Dbg_util_collect()
287 Dbg_util_lcinterface(Rt_map *lmp, int tag, char *val) in Dbg_util_lcinterface()
[all …]
H A Ddlfcns.c32 Dbg_dl_iphdr_enter(Rt_map *clmp, u_longlong_t cnt_map, u_longlong_t cnt_unmap) in Dbg_dl_iphdr_enter()
79 Dbg_dl_dlopen(Rt_map *clmp, const char *name, int *in_nfavl, int mode) in Dbg_dl_dlopen()
106 Dbg_dl_dlclose(Rt_map *clmp, const char *name, int flag) in Dbg_dl_dlclose()
124 Dbg_dl_dldump(Rt_map *clmp, const char *ipath, const char *opath, int flags) in Dbg_dl_dldump()
139 Dbg_dl_dlerror(Rt_map *clmp, const char *str) in Dbg_dl_dlerror()
152 Dbg_dl_dladdr(Rt_map *clmp, void *addr) in Dbg_dl_dladdr()
164 Dbg_dl_dlsym(Rt_map *clmp, const char *sym, int *in_nfavl, const char *next, in Dbg_dl_dlsym()
210 Dbg_dl_dlinfo(Rt_map *clmp, const char *name, int request, void *addr) in Dbg_dl_dlinfo()
H A Dbindings.c82 Dbg_bind_global(Rt_map *flmp, Addr fabs, Off foff, Xword pltndx, in Dbg_bind_global()
83 Pltbindtype pbtype, Rt_map *tlmp, Addr tabs, Off toff, in Dbg_bind_global()
167 Dbg_bind_reject(Rt_map *flmp, Rt_map *tlmp, const char *sym, int why) in Dbg_bind_reject()
183 Dbg_bind_weak(Rt_map *flmp, Addr fabs, Addr frel, const char *sym) in Dbg_bind_weak()
202 Dbg_bind_pltpad_to(Rt_map *lmp, Addr pltpad, const char *dfile, in Dbg_bind_pltpad_to()
215 Dbg_bind_pltpad_from(Rt_map *lmp, Addr pltpad, const char *sname) in Dbg_bind_pltpad_from()
H A Dfiles.c40 Dbg_file_analyze(Rt_map *lmp) in Dbg_file_analyze()
107 Dbg_file_ldso(Rt_map *lmp, char **envp, auxv_t *auxv, const char *lmid, in Dbg_file_ldso()
127 Dbg_file_prot(Rt_map *lmp, int prot) in Dbg_file_prot()
139 Dbg_file_delete(Rt_map *lmp) in Dbg_file_delete()
299 Dbg_file_bindings(Rt_map *lmp, int flag) in Dbg_file_bindings()
304 Rt_map *tlmp; in Dbg_file_bindings()
323 for (tlmp = lmp; tlmp; tlmp = (Rt_map *)NEXT(tlmp)) { in Dbg_file_bindings()
403 Dbg_file_needed(Rt_map *lmp, const char *name) in Dbg_file_needed()
558 Dbg_file_mode_promote(Rt_map *lmp, int mode) in Dbg_file_mode_promote()
598 Rt_map *lmp; in Dbg_file_cntl()
[all …]
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A D_librtld.h85 extern void apply_reloc(void *, Reloc *, const char *, uchar_t *, Rt_map *);
87 extern int count_reloc(Cache *, Cache *, Rt_map *, int, Addr, Xword *,
92 extern int update_dynamic(Cache *, Cache *, Rt_map *, int, Addr, Off,
95 Rt_map *, Rel **, Rel **, Rel **);
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c52 extern void elf_rtbndr(Rt_map *, ulong_t, caddr_t);
69 ldso_plt_init(Rt_map *lmp) in ldso_plt_init()
105 elf_plt_trace_write(uint_t roffset, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, in elf_plt_trace_write()
195 Rt_map *nlmp, *llmp; in elf_bndr()
370 Rt_map *_lmp, *plmp; in elf_reloc()
901 Rt_map *lmp = (Rt_map *)l; in elf_plt_init()
918 _elf_copy_reloc(const char *name, Rt_map *rlmp, Rt_map *dlmp) in _elf_copy_reloc()
922 Rt_map *_lmp; in _elf_copy_reloc()
980 elf_copy_gen(Rt_map *lmp) in elf_copy_gen()
990 (Rt_map *)NEXT(lmp)) == 0) in elf_copy_gen()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/
H A Drtld.msg415 @ MSG_RTMAPS_DCD "Display list of Rt_map structures"
420 Walk a list of Rt_map's starting with a specified Rt_map entry. If no\n\
424 The -v option expands each Rt_map in detail. See Rt_map.\n\
434 Example 2 - all Rt_map entries:\n\n\
454 # Rt_map messages.
457 @ MSG_RTMAP_STR "Rt_map"
459 @ MSG_RTMAP_DCD "Display Rt_map structure"
461 @ MSG_RTMAP_TITLE "Rt_map located at: 0x%0?p\n"
483 \t0xff3b0214::Rt_map\n\
512 the relationship between the two Rt_map objects.\n\
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c49 extern void elf_rtbndr(Rt_map *, ulong_t, caddr_t);
66 ldso_plt_init(Rt_map *lmp) in ldso_plt_init()
125 elf_plt_trace_write(ulong_t roffset, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, in elf_plt_trace_write()
212 elf_bndr(Rt_map *lmp, ulong_t pltndx, caddr_t from) in elf_bndr()
214 Rt_map *nlmp, *llmp; in elf_bndr()
381 elf_reloc(Rt_map *lmp, uint_t plt, int *in_nfavl, APlist **textrel) in elf_reloc()
392 Rt_map *_lmp, *plmp; in elf_reloc()
927 Rt_map *lmp = (Rt_map *)l; in elf_plt_init()
H A Ddlamd64getunwind.c39 Rt_map *lmp; in getunwind_core()
120 Rt_map *lmp; in dlamd64getunwind()
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c53 extern void elf_rtbndr(Rt_map *, ulong_t, caddr_t);
54 extern void elf_rtbndr_far(Rt_map *, ulong_t, caddr_t);
97 ldso_plt_init(Rt_map *lmp) in ldso_plt_init()
386 elf_plt_trace_write(caddr_t addr, Rela *rptr, Rt_map *rlmp, Rt_map *dlmp, in elf_plt_trace_write()
477 elf_bndr(Rt_map *lmp, ulong_t pltoff, caddr_t from) in elf_bndr()
479 Rt_map *nlmp, *llmp; in elf_bndr()
674 bindpltpad(Rt_map *lmp, Alist **padlist, Addr value, void **pltaddr, in bindpltpad()
740 elf_reloc(Rt_map *lmp, uint_t plt, int *in_nfavl, APlist **textrel) in elf_reloc()
751 Rt_map *_lmp, *plmp; in elf_reloc()

123