Home
last modified time | relevance | path

Searched refs:Addr (Results 1 – 25 of 110) sorted by relevance

12345

/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A D_librtld.h70 Addr r_value; /* value to apply to relocation */
87 extern int count_reloc(Cache *, Cache *, Rt_map *, int, Addr, Xword *,
92 extern int update_dynamic(Cache *, Cache *, Rt_map *, int, Addr, Off,
96 extern void update_sym(Cache *, Cache *, Addr, Half, Addr);
H A Dsyms.c43 update_sym(Cache *cache, Cache *_cache, Addr edata, Half endx, Addr addr) in update_sym()
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c273 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 …]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c155 Addr ino = (Addr)status->st_ino; in enterino()
236 ent->e_key = (Addr)ndir; in _enterdir()
307 if ((ent = get_hash(stbl, (Addr)ndir, 0, in enterdir()
330 if ((ent = get_hash(stbl, (Addr)odir, 0, in enterdir()
358 if ((ent = get_hash(crle->c_strtbl, (Addr)dir, 0, in enternoexistdir()
406 fent->e_key = (Addr)nfile; in _enterfile()
459 if ((rent = get_hash(crle->c_strtbl, (Addr)path, 0, in enternoexistfile()
490 if ((ent = get_hash(crle->c_strtbl, (Addr)file, dent->e_id, in enternoexistfile()
563 if ((rent = get_hash(stbl, (Addr)npath, 0, in enterfile()
592 if ((ent = get_hash(stbl, (Addr)nfile, ndent->e_id, in enterfile()
[all …]
H A D_crle.h77 Addr e_key; /* name (or inode no.) */
130 Addr c_tempaddr;
132 Addr c_tempheadaddr; /* Ptr to Rtc_head within c_tempaddr */
194 extern Hash_ent *get_hash(Hash_tbl *, Addr, Half, int);
H A Dconfig.c62 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()
312 objtbl->co_name = (Addr)(_strtbl - strtbl); in genconfig()
389 objtbl->co_name = (Addr)(_strtbl - strtbl); in genconfig()
415 (Addr)(_strtbl - strtbl); in genconfig()
479 objtbl->co_name = (Addr)(CAST_PTRINT(char *, in genconfig()
H A Ddepend.c56 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()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
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()
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()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A D_audit.h141 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.h80 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;
661 extern void call_array(Addr *, uint_t, Rt_map *, Word);
749 extern int readenv_config(Rtc_env *, Addr);
H A Daudit.c820 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 …]
H A Dconfig_elf.c47 elf_config_validate(Addr addr, Rtc_head *head, Rt_map *lmp) in elf_config_validate()
203 Addr addr; in elf_config()
276 if ((addr = (Addr)mmap(0, status.st_size, PROT_READ, MAP_SHARED, in elf_config()
277 fd, 0)) == (Addr)MAP_FAILED) { in elf_config()
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c46 static Addr membgn = 0;
47 static Addr memend = 0;
70 Addr _membgn, _memend; in load()
125 scanconfig(Addr addr, int (*fptr)()) in scanconfig()
368 Addr config; in dumpconfig()
379 config = (Addr)info.dli_fbase; in dumpconfig()
/illumos-gate/usr/src/cmd/sgs/include/sparc/
H A Dmachdep_sparc.h132 #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 */
/illumos-gate/usr/src/cmd/sgs/include/i386/
H A Dmachdep_x86.h132 #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)
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c170 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()
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c324 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()
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c189 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()
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c108 Addr baseaddr) in do_relocate()
115 Addr value, destination; in do_relocate()
145 destination = (Addr)mp->destination + in do_relocate()
146 (baseaddr - (Addr)mp->text); in do_relocate()
/illumos-gate/usr/src/cmd/sgs/include/
H A Ddebug.h780 Addr);
784 Addr, uint_t);
797 extern void Dbg_bind_global(Rt_map *, Addr, Off, Xword, Pltbindtype,
798 Rt_map *, Addr, Off, const char *, uint_t);
802 extern void Dbg_bind_pltpad_from(Rt_map *, Addr, const char *);
803 extern void Dbg_bind_pltpad_to(Rt_map *, Addr, const char *, const char *);
806 extern void Dbg_bind_weak(Rt_map *, Addr, Addr, const char *);
851 extern void Dbg_file_elf(Lm_list *, const char *, Addr, size_t,
916 extern void Dbg_move_bad(Lm_list *, ulong_t, const char *, Addr);
920 extern void Dbg_move_expand(Lm_list *, Move *, Addr);
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Definet.c89 printf(" %s", ether_sprintf(mode->MCastFilter[i].Addr)); in dump_mode()
92 ether_sprintf(mode->CurrentAddress.Addr)); in dump_mode()
94 ether_sprintf(mode->BroadcastAddress.Addr)); in dump_mode()
96 ether_sprintf(mode->PermanentAddress.Addr)); in dump_mode()
262 bcopy(net->Mode->CurrentAddress.Addr, desc->myea, 6); in efinet_init()
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c580 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()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c228 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
/illumos-gate/usr/src/lib/libmd/common/
H A Dmapfile-vers87 MD5Final { FLAGS = NODIRECT; }; # Addr interpose from testsuite
88 MD5Init { FLAGS = NODIRECT; }; # Addr interpose from testsuite
89 MD5Update { FLAGS = NODIRECT; }; # Addr interpose from testsuite
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c156 hdr.text_phdr.p_vaddr = (Addr)s_text; in ksyms_snapshot()
161 hdr.data_phdr.p_vaddr = (Addr)s_data; in ksyms_snapshot()
172 shp->sh_addralign = sizeof (Addr); in ksyms_snapshot()

12345