Home
last modified time | relevance | path

Searched refs:p_vaddr (Results 1 – 25 of 60) sorted by relevance

123

/titanic_41/usr/src/lib/libc/i386/crt/
H A D_rtld.c173 } else if (pptr->p_vaddr <= lph->p_vaddr) in __rtld()
195 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - in __rtld()
196 ALIGN(fph->p_vaddr, page_size), page_size); in __rtld()
208 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - in __rtld()
209 ALIGN(fph->p_vaddr, fph->p_align) + fph->p_align, in __rtld()
242 addr = (caddr_t)ALIGN(faddr + pptr->p_vaddr, page_size); in __rtld()
284 foff = (int)faddr + pptr->p_vaddr + pptr->p_filesz; in __rtld()
288 j = (faddr + pptr->p_vaddr + pptr->p_memsz) - zaddr; in __rtld()
/titanic_41/usr/src/lib/libc/sparc/crt/
H A D_rtld.c173 } else if (pptr->p_vaddr <= lph->p_vaddr) in __rtld()
195 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - in __rtld()
196 ALIGN(fph->p_vaddr, page_size), page_size); in __rtld()
208 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - in __rtld()
209 ALIGN(fph->p_vaddr, fph->p_align) + fph->p_align, in __rtld()
242 addr = (caddr_t)ALIGN(faddr + pptr->p_vaddr, page_size); in __rtld()
284 foff = (uintptr_t)faddr + pptr->p_vaddr + in __rtld()
289 j = (faddr + pptr->p_vaddr + pptr->p_memsz) - zaddr; in __rtld()
/titanic_41/usr/src/cmd/sgs/rtld.4.x/
H A Drtld.4.x.c418 } else if (pptr->p_vaddr <= lph->p_vaddr)
441 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
442 ALIGN(fph->p_vaddr, page_size), page_size);
454 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
455 ALIGN(fph->p_vaddr, fph->p_align) + fph->p_align,
488 addr = (caddr_t)ALIGN(faddr + pptr->p_vaddr, page_size);
521 foff = (int)faddr + pptr->p_vaddr + pptr->p_filesz;
524 r = (faddr + pptr->p_vaddr + pptr->p_memsz) - zaddr;
/titanic_41/usr/src/psm/stand/boot/common/
H A Dreadfile.c449 phdr->p_offset, phdr->p_vaddr); in read_elf32()
460 phdr->p_vaddr == 0) { in read_elf32()
478 phdr->p_vaddr = (Elf32_Addr)loadaddr; in read_elf32()
486 loadaddr = phdr->p_vaddr; in read_elf32()
528 if ((phdr->p_vaddr == phdr->p_paddr) && in read_elf32()
581 (caddr_t)(uintptr_t)phdr->p_vaddr, in read_elf32()
600 dynamic = phdr->p_vaddr; in read_elf32()
851 (u_longlong_t)phdr->p_vaddr); in read_elf64()
866 phdr->p_vaddr == 0) { in read_elf64()
891 phdr->p_vaddr = loadaddr; in read_elf64()
[all …]
/titanic_41/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c136 if (phdr->p_flags == (PF_R | PF_W) && phdr->p_vaddr == 0) { in dboot_elfload64()
150 if (phdr->p_paddr == phdr->p_vaddr) { in dboot_elfload64()
168 (ulong_t)dst, (ulong_t)phdr->p_vaddr); in dboot_elfload64()
/titanic_41/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c92 if ((pltaddr >= (phdr.p_vaddr + baseaddr)) && in rli_func()
93 (pltaddr < (phdr.p_vaddr + baseaddr + in rli_func()
98 dynbase = phdr.p_vaddr + baseaddr; in rli_func()
/titanic_41/usr/src/cmd/sgs/rtld/amd64/
H A Ddlamd64getunwind.c96 (void *)(PTUNWIND(lmp)->p_vaddr + base); in getunwind_core()
98 (void *)(PTUNWIND(lmp)->p_vaddr + in getunwind_core()
/titanic_41/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c268 va = (fo - ph[i].p_offset) + ph[i].p_vaddr; in __fex_sym()
287 if (s[j].st_value < ph[i].p_vaddr || s[j].st_value >= ph[i].p_vaddr in __fex_sym()
304 fo = (value - ph[i].p_vaddr) + ph[i].p_offset; in __fex_sym()
/titanic_41/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c156 if (first_load_seg || phdr.p_vaddr < txt_origin) in get_txtorigin()
157 txt_origin = phdr.p_vaddr; in get_txtorigin()
268 chk = (size_t)phdr.p_vaddr + (size_t)phdr.p_filesz; in get_textseg()
269 if (phdr.p_vaddr + phdr.p_filesz != (GElf_Xword)chk) in get_textseg()
272 textbegin = (size_t)phdr.p_vaddr; in get_textseg()
/titanic_41/usr/src/cmd/sgs/dump/common/
H A Dfcns.c126 field, EC_ADDR(p_phdr.p_vaddr), in dump_exec_header()
142 field, EC_ADDR(p_phdr.p_vaddr), in dump_exec_header()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dupdate.c452 start = sgp->sg_phdr.p_vaddr; in update_osym()
510 etext = tsgp->sg_phdr.p_vaddr + tsgp->sg_phdr.p_filesz; in update_osym()
520 edata = dsgp->sg_phdr.p_vaddr + dsgp->sg_phdr.p_filesz; in update_osym()
537 else if (dsgp->sg_phdr.p_vaddr > tsgp->sg_phdr.p_vaddr) in update_osym()
539 else if (dsgp->sg_phdr.p_vaddr < tsgp->sg_phdr.p_vaddr) in update_osym()
551 if (esgp && (esgp->sg_phdr.p_vaddr > sgp->sg_phdr.p_vaddr)) in update_osym()
555 end = sgp->sg_phdr.p_vaddr + sgp->sg_phdr.p_memsz; in update_osym()
813 ofl->ofl_tlsphdr->p_vaddr; in update_osym()
1089 symptr->st_value -= ofl->ofl_tlsphdr->p_vaddr; in update_osym()
1702 ofl->ofl_tlsphdr->p_vaddr; in update_osym()
[all …]
H A Dmap.c423 (sgp->sg_phdr.p_vaddr != number)) in map_equal()
429 sgp->sg_phdr.p_vaddr = (Addr)number; in map_equal()
523 (sgp->sg_phdr.p_vaddr != 0))) { in map_equal()
569 if (sgp->sg_phdr.p_vaddr != 0) { in map_equal()
571 sgp->sg_phdr.p_vaddr = 0; in map_equal()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c122 gpp->p_vaddr = shp->sh_offset; in gelf_sect_init()
277 dst->p_vaddr = src->p_vaddr; in gelf32_to_phdr()
312 if (lhs->p_vaddr != rhs->p_vaddr) { in gelf_phdr_compare()
313 if (lhs->p_vaddr == 0) in gelf_phdr_compare()
316 if (rhs->p_vaddr == 0) in gelf_phdr_compare()
319 return (lhs->p_vaddr > rhs->p_vaddr ? 1 : -1); in gelf_phdr_compare()
396 gpp->p_vaddr, gpp->p_flags, (u_longlong_t)gpp->p_memsz, in gelf_phdrs_init()
535 dyn_addr = gf->gf_dynp->p_vaddr - gf->gf_phdrs->p_vaddr; in gelf_dyns_init()
537 dyn_addr = gf->gf_dynp->p_vaddr; in gelf_dyns_init()
1287 base = (off64_t)gf->gf_phdrs->p_vaddr; in mdb_gelf_symtab_create_dynamic()
[all …]
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Delf.h205 Elf32_Addr p_vaddr; /* Virtual address (not used). */ member
217 Elf64_Addr p_vaddr; /* Virtual address (not used). */ member
/titanic_41/usr/src/cmd/sgs/elfedit/modules/common/
H A Dphdr.c463 EC_ADDR(phdr->p_vaddr)); in print_phdr()
741 Addr p_vaddr = elfedit_atoui(argstate.argv[1], NULL); in cmd_body() local
743 if (phdr->p_vaddr == p_vaddr) { in cmd_body()
747 EC_ADDR(phdr->p_vaddr)); in cmd_body()
752 EC_ADDR(phdr->p_vaddr), EC_ADDR(p_vaddr)); in cmd_body()
754 phdr->p_vaddr = p_vaddr; in cmd_body()
H A Dphdr.msg193 The phdr:p_vaddr command is used to display or alter the\n\
194 p_vaddr field of the specified program header.\n\
196 p_vaddr provides the virtual address at which the first byte\n\
199 If phdr:p_vaddr is called without arguments, the value\n\
200 of p_vaddr for every element in the program header array\n\
203 present, the p_vaddr field of the element at the specified\n\
283 integral power of 2, and p_vaddr should equal p_offset,\n\
373 @ MSG_CMD_P_VADDR "p_vaddr"
/titanic_41/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c290 if (data_phdr->p_vaddr < ophdr->p_vaddr) in rt_dldump()
430 (data_phdr->p_vaddr + data_phdr->p_memsz))) { in rt_dldump()
517 edata = data_phdr->p_vaddr + data_phdr->p_memsz; in rt_dldump()
559 ophdr->p_vaddr += addr; in rt_dldump()
562 ophdr->p_memsz = edata - ophdr->p_vaddr; in rt_dldump()
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c286 if (mp->mi_end < (ulong_t)(phdr.p_vaddr + in load_map()
288 mp->mi_end = (ulong_t)(phdr.p_vaddr + in load_map()
290 if (mp->mi_addr > phdr.p_vaddr) in load_map()
291 mp->mi_addr = phdr.p_vaddr; in load_map()
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Dphdr.c38 dbg_print(lml, MSG_ORIG(MSG_PHD_VADDR), EC_ADDR(phdr->p_vaddr), in Elf_phdr()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dtls.c138 tmi.tm_tlsblock = (void *)(tlsphdr->p_vaddr); in tls_modaddrem()
317 tlsmodlist[tlsmodndx]->tm_tlsblock = (void *)(tlsphdr->p_vaddr); in tls_statmod()
/titanic_41/usr/src/uts/common/os/
H A Dksyms_snapshot.c158 hdr.text_phdr.p_vaddr = (Addr)s_text; in ksyms_snapshot()
163 hdr.data_phdr.p_vaddr = (Addr)s_data; in ksyms_snapshot()
/titanic_41/usr/src/lib/libproc/common/
H A DPidle.c130 (u_longlong_t)php->p_vaddr, (u_longlong_t)php->p_filesz, in idle_add_mapping()
133 pmap.pr_vaddr = (uintptr_t)php->p_vaddr; in idle_add_mapping()
H A DPsymtab_machelf32.c261 phdr->p_vaddr += addr; in fake_elf64()
269 if (Pread(P, dp, phdr->p_filesz, phdr->p_vaddr) != in fake_elf64()
591 sp->sh_addr = phdr->p_vaddr; in fake_elf64()
/titanic_41/usr/src/cmd/sgs/prof/common/
H A Drdelf.c376 if (first_load_seg || phdr.p_vaddr < txt_origin) in get_txtorigin()
377 txt_origin = phdr.p_vaddr; in get_txtorigin()
/titanic_41/usr/src/cmd/sgs/librtld_db/common/
H A Drd_elf.c439 phdr.p_vaddr += addr; in _rd_get_dyns32()
440 if (ps_pread(php, phdr.p_vaddr, dynp, phdr.p_filesz) != PS_OK) { in _rd_get_dyns32()
443 EC_ADDR(phdr.p_vaddr))); in _rd_get_dyns32()
649 lobj.rl_data_base = phdr.p_vaddr; in iter_map()

123