/titanic_41/usr/src/cmd/sgs/librtld/common/ |
H A D | _librtld.h | 72 Addr r_value; /* value to apply to relocation */ 89 extern int count_reloc(Cache *, Cache *, Rt_map *, int, Addr, Xword *, 94 extern int update_dynamic(Cache *, Cache *, Rt_map *, int, Addr, Off, 98 extern void update_sym(Cache *, Cache *, Addr, Half, Addr);
|
H A D | syms.c | 44 update_sym(Cache *cache, Cache *_cache, Addr edata, Half endx, Addr addr) in update_sym()
|
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 273 sizeof (Addr) + /* reflmp */ 274 sizeof (Addr) + /* deflmp */ 338 reloc_val64_to_g1(uchar_t *off, Addr *value, const char *sym, Lm_list *lml) in reloc_val64_to_g1() 434 reloc_val64_to_g1((dyn_plt + 0x30), (Addr *)&elf_plt_trace, in elf_plt_trace_write() 440 *dyndata++ = (Addr)rlmp; in elf_plt_trace_write() 441 *dyndata++ = (Addr)dlmp; in elf_plt_trace_write() 446 *dyndata = (Addr)sb_flags; in elf_plt_trace_write() 452 symp->st_value = (Addr)to; in elf_plt_trace_write() 480 Addr addr, vaddr, reloff, symval; in elf_bndr() 636 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)), in elf_bndr() [all …]
|
/titanic_41/usr/src/cmd/sgs/crle/common/ |
H A D | inspect.c | 153 Addr ino = (Addr)status->st_ino; in enterino() 234 ent->e_key = (Addr)ndir; in _enterdir() 305 if ((ent = get_hash(stbl, (Addr)ndir, 0, in enterdir() 328 if ((ent = get_hash(stbl, (Addr)odir, 0, in enterdir() 356 if ((ent = get_hash(crle->c_strtbl, (Addr)dir, 0, in enternoexistdir() 403 fent->e_key = (Addr)nfile; in _enterfile() 456 if ((rent = get_hash(crle->c_strtbl, (Addr)path, 0, in enternoexistfile() 487 if ((ent = get_hash(crle->c_strtbl, (Addr)file, dent->e_id, in enternoexistfile() 559 if ((rent = get_hash(stbl, (Addr)npath, 0, in enterfile() 588 if ((ent = get_hash(stbl, (Addr)nfile, ndent->e_id, in enterfile() [all …]
|
H A D | _crle.h | 77 Addr e_key; /* name (or inode no.) */ 130 Addr c_tempaddr; 132 Addr c_tempheadaddr; /* Ptr to Rtc_head within c_tempaddr */ 198 extern Hash_ent *get_hash(Hash_tbl *, Addr, Half, int);
|
H A D | config.c | 62 Addr addr; in genconfig() 175 if ((addr = (Addr)mmap(0, size, (PROT_READ | PROT_WRITE), MAP_SHARED, in genconfig() 176 crle->c_tempfd, 0)) == (Addr)-1) { in genconfig() 314 objtbl->co_name = (Addr)(_strtbl - strtbl); in genconfig() 391 objtbl->co_name = (Addr)(_strtbl - strtbl); in genconfig() 417 (Addr)(_strtbl - strtbl); in genconfig() 481 objtbl->co_name = (Addr)(CAST_PTRINT(char *, in genconfig()
|
H A D | depend.c | 56 if ((fltrent = get_hash(crle->c_strtbl, (Addr)filter, 0, in filter() 59 if ((fltrent = get_hash(crle->c_strtbl, (Addr)fltrent->e_obj->o_path, 0, in filter() 68 if ((flteent = get_hash(crle->c_strtbl, (Addr)filtee, 0, in filter()
|
/titanic_41/usr/src/cmd/sgs/liblddbg/common/ |
H A D | bindings.c | 82 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() 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()
|
/titanic_41/usr/src/cmd/sgs/rtld/common/ |
H A D | _audit.h | 141 extern Addr audit_symbind(Rt_map *, Rt_map *, Sym *, uint_t, 142 Addr value, 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 D | _rtld.h | 80 Rt_map *(*fct_new_lmp)(Lm_list *, Aliste, Fdesc *, Addr, size_t, 84 Addr (*fct_entry_pt)(void); 180 Addr c_bgn; 181 Addr c_end; 668 extern void call_array(Addr *, uint_t, Rt_map *, Word); 756 extern int readenv_config(Rtc_env *, Addr, int);
|
H A D | audit.c | 820 Addr ovalue = sym->st_value; in _audit_pltenter() 836 sym->st_value = (Addr)(*alp->al_pltenter)(sym, ndx, in _audit_pltenter() 854 Addr 889 static Addr 934 Addr 968 static Addr 985 Addr ovalue = sym->st_value; in _audit_symbind() 1045 Addr 1046 audit_symbind(Rt_map *rlmp, Rt_map *dlmp, Sym *sym, uint_t ndx, Addr value, in audit_symbind() 1317 static Addr [all …]
|
/titanic_41/usr/src/cmd/sgs/libcrle/common/ |
H A D | dump.c | 49 static Addr membgn = 0; 50 static Addr memend = 0; 73 Addr _membgn, _memend; in load() 128 scanconfig(Addr addr, int (*fptr)()) in scanconfig() 370 Addr config; in dumpconfig() 381 config = (Addr)info.dli_fbase; in dumpconfig()
|
/titanic_41/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 65 tnf_reloc_resolve(char *symname, Addr *value_p, in tnf_reloc_resolve() 79 *value_p = (Addr)*taglist; in tnf_reloc_resolve() 156 Addr baseaddr) in do_relocate() 163 Addr value, destination; in do_relocate() 195 destination = (Addr)mp->destination + in do_relocate() 196 (baseaddr - (Addr)mp->text); in do_relocate()
|
/titanic_41/usr/src/cmd/sgs/include/sparc/ |
H A D | machdep_sparc.h | 132 #define M_SEGM_ORIGIN (Addr)0x100000000ULL /* default 1st segment origin */ 133 #define M_SEGM_AORIGIN (Addr)0x100000ULL /* alternative 1st segment */ 137 #define M_SEGM_ORIGIN (Addr)0x10000 /* default 1st segment origin */
|
/titanic_41/usr/src/cmd/sgs/include/i386/ |
H A D | machdep_x86.h | 132 #define M_SEGM_ORIGIN (Addr)0x400000ULL /* default 1st segment origin */ 133 #define M_SEGM_AORIGIN (Addr)0x10000ULL /* alternative 1st segment */ 138 #define M_SEGM_ORIGIN (Addr)(M_STACK_GAP + M_STACK_PGS)
|
/titanic_41/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 170 symp->st_value = (Addr)to; in elf_plt_trace_write() 317 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)), in elf_bndr() 318 (Xword)(reloff / sizeof (Rel)), PLT_T_FULL, nlmp, (Addr)symval, in elf_bndr() 640 (Addr)roffset, (Addr) in elf_reloc() 711 (Addr)roffset, (Addr) in elf_reloc() 880 DBG_CALL(Dbg_bind_global(lmp, (Addr)roffset, in elf_reloc() 882 _lmp, (Addr)value, symdef->st_value, name, binfo)); in elf_reloc() 970 rel.r_offset = (Addr)ref; in _elf_copy_reloc()
|
/titanic_41/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 324 symp->st_value = (Addr)to; in elf_plt_trace_write() 493 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)), in elf_bndr() 494 pltndx, pbtype, nlmp, (Addr)symval, nsym->st_value, name, binfo)); in elf_bndr() 649 Addr vaddr; in elf_reloc() 795 (Addr)roffset, (Addr) in elf_reloc() 865 (Addr)roffset, (Addr) in elf_reloc() 1118 DBG_CALL(Dbg_bind_global(lmp, (Addr)roffset, in elf_reloc() 1120 _lmp, (Addr)value, symdef->st_value, name, binfo)); in elf_reloc()
|
H A D | sparc_a.out.c | 145 DBG_CALL(Dbg_bind_global(lmp, (Addr)(ADDR(lmp) + rp->r_address), in aout_bndr() 147 (Addr)symval, sym->st_value, name, binfo)); in aout_bndr() 327 DBG_CALL(Dbg_bind_global(lmp, (Addr)ra, in aout_reloc() 329 _lmp, (Addr)value, sym->st_value, name, binfo)); in aout_reloc()
|
/titanic_41/usr/src/cmd/sgs/include/ |
H A D | debug.h | 781 Addr); 785 Addr, uint_t); 798 extern void Dbg_bind_global(Rt_map *, Addr, Off, Xword, Pltbindtype, 799 Rt_map *, Addr, Off, const char *, uint_t); 803 extern void Dbg_bind_pltpad_from(Rt_map *, Addr, const char *); 804 extern void Dbg_bind_pltpad_to(Rt_map *, Addr, const char *, const char *); 807 extern void Dbg_bind_weak(Rt_map *, Addr, Addr, const char *); 839 extern void Dbg_file_aout(Lm_list *, const char *, Addr, size_t, 854 extern void Dbg_file_elf(Lm_list *, const char *, Addr, size_t, 919 extern void Dbg_move_bad(Lm_list *, ulong_t, const char *, Addr); [all …]
|
/titanic_41/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 189 symp->st_value = (Addr)to; in elf_plt_trace_write() 338 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)), in elf_bndr() 339 (Xword)(reloff / sizeof (Rela)), PLT_T_FULL, nlmp, (Addr)symval, in elf_bndr() 664 (Addr)roffset, (Addr) in elf_reloc() 735 (Addr)roffset, (Addr) in elf_reloc() 906 DBG_CALL(Dbg_bind_global(lmp, (Addr)roffset, in elf_reloc() 908 _lmp, (Addr)value, symdef->st_value, name, binfo)); in elf_reloc()
|
/titanic_41/usr/src/lib/libmd/common/ |
H A D | mapfile-vers | 60 MD5Final { FLAGS = NODIRECT }; # Addr interpose from testsuite 61 MD5Init { FLAGS = NODIRECT }; # Addr interpose from testsuite 62 MD5Update { FLAGS = NODIRECT }; # Addr interpose from testsuite
|
/titanic_41/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 580 addr = (caddr_t)((Addr)cptr - in plt_cg_interp() 581 (Addr)Cptr); in plt_cg_interp() 589 cptr = (L_cgarc *)((Addr)addr + in plt_cg_interp() 590 (Addr)Cptr); in plt_cg_interp() 615 return ((uintptr_t)((Addr)cptr->cg_to + (Addr)Lpc)); in plt_cg_interp()
|
/titanic_41/usr/src/cmd/sgs/elfdump/common/ |
H A D | fake_shdr.c | 228 sizeof (Addr), sizeof (Cap), ELF_T_CAP }, 240 sizeof (Addr), 0, ELF_T_BYTE }, 256 sizeof (Addr), sizeof (Addr), ELF_T_ADDR }, 260 sizeof (Addr), sizeof (Addr), ELF_T_ADDR }, 264 sizeof (Addr), sizeof (Addr), ELF_T_ADDR }, 287 Addr vaddr; /* Virtual memory address */ 419 map_addr_to_offset(FSTATE *fstate, Addr addr, size_t size, size_t *zero_bytes, in map_addr_to_offset() 423 Addr end_addr = addr + size; in map_addr_to_offset() 478 static Addr
|
/titanic_41/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_reloc.c | 66 Addr *value_p, in tnf_reloc_resolve() 77 *value_p = (Addr)*taglist; in tnf_reloc_resolve() 123 int relocsize, Addr baseaddr) in do_relocate()
|
/titanic_41/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 65 tnf_reloc_resolve(char *symname, Addr *value_p, in tnf_reloc_resolve() 79 *value_p = (Addr)*taglist; in tnf_reloc_resolve() 125 int relocsize, Addr baseaddr) in do_relocate()
|