Home
last modified time | relevance | path

Searched refs:Sym (Results 1 – 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A D_audit.h108 uintptr_t (*al_pltenter)(Sym *, uint_t, uintptr_t *, uintptr_t *,
110 uintptr_t (*al_pltexit)(Sym *, uint_t, uintptr_t *, uintptr_t *,
112 uintptr_t (*al_symbind)(Sym *, uint_t, uintptr_t *,
115 uintptr_t (*al_pltenter)(Sym *, uint_t, uintptr_t *, uintptr_t *,
117 uintptr_t (*al_pltexit)(Sym *, uint_t, uintptr_t *, uintptr_t *,
119 uintptr_t (*al_symbind)(Sym *, uint_t, uintptr_t *,
141 extern Addr audit_symbind(Rt_map *, Rt_map *, Sym *, uint_t,
143 extern Addr audit_pltenter(Rt_map *, Rt_map *, Sym *, uint_t,
145 extern Addr audit_pltexit(uintptr_t, Rt_map *, Rt_map *, Sym *,
H A Dmove.c53 elf_move_bad(Lm_list *lml, Rt_map *lmp, Sym *sym, ulong_t num, Addr addr) in elf_move_bad()
101 Sym *sym; in move_data()
103 if ((sym = (Sym *)SYMTAB(lmp) + ELF_M_SYM(mv->m_info)) == 0) in move_data()
H A D_elf.h51 extern int elf_copy_reloc(char *, Sym *, Rt_map *, void *, Sym *,
74 extern long elf_static_tls(Rt_map *, Sym *, void *, uchar_t, char *,
H A D_rtld.h195 Sym *rl_sym; /* regsym */
219 Sym *r_rsym; /* reference symbol table entry */
222 Sym *r_dsym; /* definition symbol table entry */
674 extern int cap_match(Sresult *, uint_t, Sym *, char *);
718 extern int is_sym_interposer(Rt_map *, Sym *);
/illumos-gate/usr/src/tools/scripts/
H A Dinterface_check.pl307 foreach my $Sym
309 if ($Sym =~ /:$/) {
320 $Sym =~ s/[ \t]*(.*);$/$1/;
321 $Sym =~ s/ .*$//; # remove any data size
322 $Syms{$Sym} = $symitem;
339 foreach my $Sym (sort keys %Syms) {
340 print INTFILE "\t$Syms{$Sym}\t$Sym\n";
H A Dcheck_rtime.pl188 my(@Elf, @Ldd, $Dyn, $Sym, $Stack);
374 $Sym = 5;
416 if (($Type ne 'REL') && ($Sym == 5) && ($Line =~ /not found\)/)) {
426 if (($Type ne 'REL') && $Sym && ($Line =~ /symbol not found/)) {
429 if (($Sym == 5) && defined($EXRE_undef_ref) &&
431 $Sym = 0;
434 if ($Sym-- == 1) {
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c90 Sym *sym = (Sym *)(symhdr->sh_addr + i * symsize); in ksyms_walk_one()
91 Sym tmp = *sym; in ksyms_walk_one()
95 ksyms_emit(kwp, &tmp, sizeof (Sym), in ksyms_walk_one()
106 Sym tmp; in ksyms_walk()
119 bzero(&tmp, sizeof (Sym)); in ksyms_walk()
120 ksyms_emit(kwp, &tmp, sizeof (Sym), KW_LOCALS); in ksyms_walk()
171 shp->sh_info = kw.kw_size[KW_LOCALS] / sizeof (Sym); in ksyms_snapshot()
173 shp->sh_entsize = sizeof (Sym); in ksyms_snapshot()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmachsym.sparc.h56 extern const char *ld_is_regsym_sparc(Ofl_desc *, Ifl_desc *, Sym *,
58 extern int ld_mach_sym_typecheck_sparc(Sym_desc *, Sym *,
60 extern int ld_reg_check_sparc(Sym_desc *, Sym *, const char *,
63 extern Sym_desc * ld_reg_find_sparc(Sym *, Ofl_desc *);
H A Dmachsym.sparc.c58 ld_reg_check_sparc(Sym_desc *sdp, Sym *nsym, const char *nname, Ifl_desc *ifl, in ld_reg_check_sparc()
61 Sym *osym = sdp->sd_sym; in ld_reg_check_sparc()
126 ld_mach_sym_typecheck_sparc(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, in ld_mach_sym_typecheck_sparc()
130 Sym *osym = sdp->sd_sym; in ld_mach_sym_typecheck_sparc()
161 ld_is_regsym_sparc(Ofl_desc *ofl, Ifl_desc *ifl, Sym *sym, const char *strs, in ld_is_regsym_sparc()
224 ld_reg_find_sparc(Sym *sym, Ofl_desc *ofl) in ld_reg_find_sparc()
H A Dresolve.c55 sym_null(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_null()
61 sym_visibility_diag(Error err, Sym_desc *sdp, Sym *osym, Sym *nsym, in sym_visibility_diag()
120 sym_visibility(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl) in sym_visibility()
122 Sym *osym = sdp->sd_sym; in sym_visibility()
268 sym_typecheck(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_typecheck()
300 sym_mach_check(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_mach_check()
316 sym_promote(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_promote()
358 sym_override(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_override()
361 Sym *osym = sdp->sd_sym; in sym_override()
520 sym_twoundefs(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_twoundefs()
[all …]
H A Dsyms.c80 string(Ofl_desc *ofl, Ifl_desc *ifl, Sym *sym, const char *strs, size_t strsize, in string()
204 Sym *symdata; in ld_sym_nodirect()
239 Sym *sym; in ld_sym_nodirect()
246 sym = (Sym *)(symdata + _cnt); in ld_sym_nodirect()
276 Sym *nsym; in ld_sym_copy()
279 if ((nsym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_copy()
365 ld_sym_enter(const char *name, Sym *osym, Word hash, Ifl_desc *ifl, in ld_sym_enter()
372 Sym *nsym; in ld_sym_enter()
678 Sym *sym; in sym_add_spec()
741 if ((sym = libld_calloc(1, sizeof (Sym))) == NULL) in sym_add_spec()
[all …]
H A D_libld.h239 int (* ms_reg_check)(Sym_desc *, Sym *, const char *,
241 int (* ms_mach_sym_typecheck)(Sym_desc *, Sym *,
243 const char *(* ms_is_regsym)(Ofl_desc *, Ifl_desc *, Sym *,
245 Sym_desc *(* ms_reg_find)(Sym * sym, Ofl_desc * ofl);
262 Sym *wk_symtab; /* the .symtab entry */
263 Sym *wk_dynsym; /* the .dynsym entry */
988 extern Sym_desc *ld_sym_enter(const char *, Sym *, Word, Ifl_desc *,
994 extern uintptr_t ld_sym_resolve(Sym_desc *, Sym *, Ifl_desc *,
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dcommon_sparc.c63 check_regsyms(Sym *sym1, const char *name1, Sym *sym2, const char *name2) in check_regsyms()
96 Sym *symdef; in elf_regsyms()
116 symdef = (Sym *)((unsigned long)SYMTAB(lmp) + in elf_regsyms()
H A Dsparc_elf.c208 sizeof (Sym); /* symdef */
239 Sym *sym, ulong_t symndx, ulong_t pltndx, caddr_t to, ulong_t sb_flags, in elf_plt_trace_write()
271 Sym *symp; in elf_plt_trace_write()
321 symp = (Sym *)dyndata; in elf_plt_trace_write()
356 Sym *rsym, *nsym; in elf_bndr()
412 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr()
541 Sym *symref, *psymref, *symdef, *psymdef; in elf_reloc()
751 symref = (Sym *)((ulong_t)SYMTAB(lmp) + in elf_reloc()
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c116 Sym *symref; in do_relocate()
179 Sym *symp; in do_relocate()
180 symp = (Sym *) in do_relocate()
208 symref = (Sym *) in do_relocate()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c150 Sym *symref = NULL; in do_relocate()
194 Sym * symp; in do_relocate()
195 symp = (Sym *) in do_relocate()
221 symref = (Sym *) in do_relocate()
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c389 dynsym_size = sizeof (Sym) * hnchains; in fake_elf64()
522 sp->sh_info = sp->sh_size / sizeof (Sym); in fake_elf64()
524 sp->sh_entsize = sizeof (Sym); in fake_elf64()
551 sp->sh_entsize = sizeof (Sym); in fake_elf64()
614 Sym sym, *symtabptr; in fake_elf64()
625 symtabptr = (Sym *)(uintptr_t)d[DI_SYMTAB]->d_un.d_ptr; in fake_elf64()
628 symtabptr = (Sym*)((uintptr_t)symtabptr + addr); in fake_elf64()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c124 static Sym *lookup_one(struct module *, const char *);
126 static Sym *sym_lookup(struct module *, Sym *);
701 Sym *sp; in load_exec()
857 sp = (Sym *)(mp->symtbl + i * mp->symhdr->sh_entsize); in load_exec()
887 Sym *sp; in load_linker()
968 sp = (Sym *)(mp->symtbl + i * mp->symhdr->sh_entsize); in load_linker()
1367 Sym *sym; in load_kmdb()
1423 Sym *sp; in depends_on()
1486 Sym *esp = (Sym *)(mp->symtbl + mp->symhdr->sh_size); in kobj_export_ksyms()
1487 Sym *sp, *osp; in kobj_export_ksyms()
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsyms.c225 Dbg_syms_entered(Ofl_desc *ofl, Sym *sym, Sym_desc *sdp) in Dbg_syms_entered()
276 Dbg_syms_cap_convert(Ofl_desc *ofl, Word ndx, const char *name, Sym *sym) in Dbg_syms_cap_convert()
294 Dbg_syms_cap_local(Ofl_desc *ofl, Word ndx, const char *name, Sym *sym, in Dbg_syms_cap_local()
390 Dbg_syms_new(Ofl_desc *ofl, Sym *sym, Sym_desc *sdp) in Dbg_syms_new()
436 int col, Sym *osym, Sym *nsym, Sym_desc *sdp, Ifl_desc *ifl) in Dbg_syms_resolving()
583 Dbg_syminfo_entry(Lm_list *lml, Word ndx, Syminfo *sip, Sym *sym, in Dbg_syminfo_entry()
632 uchar_t osabi, Half mach, Sym *sym, Versym verndx, int gnuver, in Elf_syms_table_entry()
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Dsyms.c46 Sym *syms; in update_sym()
54 syms = (Sym *)_cache->c_data->d_buf; in update_sym()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_auxv.c38 Sym *ksym; in kctl_lookup_by_name()
59 Sym *ksym; in kctl_boot_lookup_by_name()
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c105 elf_plt_trace_write(uint_t roffset, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, in elf_plt_trace_write()
127 Sym *symp; in elf_plt_trace_write()
167 symp = (Sym *)dyndata; in elf_plt_trace_write()
199 Sym *rsym, *nsym; in elf_bndr()
240 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr()
367 Sym *symref, *psymref, *symdef, *psymdef; in elf_reloc()
596 symref = (Sym *)((ulong_t)SYMTAB(lmp) + in elf_reloc()
920 Sym *symref, *symdef; in _elf_copy_reloc()
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c125 elf_plt_trace_write(ulong_t roffset, Rt_map *rlmp, Rt_map *dlmp, Sym *sym, in elf_plt_trace_write()
147 Sym *symp; in elf_plt_trace_write()
187 symp = (Sym *)dyndata; in elf_plt_trace_write()
218 Sym *rsym, *nsym; in elf_bndr()
261 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr()
389 Sym *symref, *psymref, *symdef, *psymdef; in elf_reloc()
619 symref = (Sym *)((ulong_t)SYMTAB(lmp) + in elf_reloc()
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c277 sizeof (Sym); /* symdef */
387 Sym *sym, uint_t symndx, ulong_t pltndx, caddr_t to, uint_t sb_flags, in elf_plt_trace_write()
419 Sym *symp; in elf_plt_trace_write()
450 symp = (Sym *)dyndata; in elf_plt_trace_write()
483 Sym *rsym, *nsym; in elf_bndr()
553 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr()
748 Sym *symref, *psymref, *symdef, *psymdef; in elf_reloc()
978 symref = (Sym *)((ulong_t)SYMTAB(lmp) + in elf_reloc()
/illumos-gate/usr/src/uts/common/sys/
H A Dmachelf.h78 typedef Elf64_Sym Sym; typedef
125 typedef Elf32_Sym Sym;

123