Home
last modified time | relevance | path

Searched refs:e_phentsize (Results 1 – 25 of 49) sorted by relevance

12

/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Dnewphdr.c110 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()
121 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()
132 ((Ehdr*)elf->ed_ehdr)->e_phentsize in elf_newphdr()
H A Dupdate.c183 eh->e_phentsize = (Half)elf_fsize(ELF_T_PHDR, 1, ver); in _elf_upd_lib()
186 hi += eh->e_phentsize * eh->e_phnum; in _elf_upd_lib()
189 eh->e_phentsize = 0; in _elf_upd_lib()
375 eh->e_phentsize = (Half)elf_fsize(ELF_T_PHDR, 1, ver); in _elf_upd_usr()
377 eh->e_phentsize = 0; in _elf_upd_usr()
378 if ((sz = eh->e_phoff + eh->e_phentsize * eh->e_phnum) > hi) in _elf_upd_usr()
563 dst.d_size = eh->e_phnum * eh->e_phentsize; in wrt()
H A Dgelf.c111 dst->e_phentsize = e->e_phentsize; in gelf_getehdr()
173 d->e_phentsize = src->e_phentsize; in gelf_update_ehdr()
/titanic_44/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c345 size += phnum * ehdr->e_phentsize; in fake_elf64()
456 ep->e_phentsize = ehdr->e_phentsize; in fake_elf64()
458 ep->e_shoff = ep->e_phoff + phnum * ep->e_phentsize; in fake_elf64()
477 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, in fake_elf64()
478 addr + ehdr->e_phoff) != phnum * ep->e_phentsize) { in fake_elf64()
H A DPcore.c1606 efp->e_hdr.e_phentsize = e64.e_phentsize; in core_elf_fdopen()
1626 efp->e_hdr.e_phentsize = e32.e_phentsize; in core_elf_fdopen()
1724 phnum /= efp->e_hdr.e_phentsize; in core_elf_fdopen()
1743 efp->e_hdr.e_phentsize * in core_elf_fdopen()
1747 efp->e_hdr.e_phentsize * phnum; in core_elf_fdopen()
2332 nbytes = core.e_hdr.e_phnum * core.e_hdr.e_phentsize; in Pfgrab_core()
2378 php = (char *)php + core.e_hdr.e_phentsize; in Pfgrab_core()
H A DPgcore.c1130 ehdr.e_phentsize = sizeof (Elf32_Phdr); in Pfgcore()
1145 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phentsize * nphdrs; in Pfgcore()
1154 ehdr.e_phentsize * nphdrs + in Pfgcore()
1188 ehdr.e_phentsize = sizeof (Elf64_Phdr); in Pfgcore()
1203 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phentsize * nphdrs; in Pfgcore()
1212 ehdr.e_phentsize * nphdrs + in Pfgcore()
H A DPcontrol.h183 Elf64_Half e_phentsize; member
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Delf.h175 Elf32_Half e_phentsize; /* Size of program header entry. */ member
192 Elf64_Half e_phentsize; /* Size of program header entry. */ member
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c97 ehdr->e_phentsize); in Elf_ehdr()
101 ehdr->e_phentsize, ehdr->e_phnum); in Elf_ehdr()
/titanic_44/usr/src/tools/elfextract/
H A Delfextract.c88 phdr = (Elf32_Phdr *)(allphdrs + eh->e_phentsize * i); in extract32()
158 phdr = (Elf64_Phdr *)(allphdrs + eh->e_phentsize * i); in extract64()
/titanic_44/usr/src/psm/stand/boot/common/
H A Dreadfile.c367 phdrsize = nphdrs * elfhdrp->e_phentsize; in read_elf32()
386 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf32()
444 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf32()
637 AUX(av, AT_PHENT, elfhdrp->e_phentsize); in read_elf32()
766 phdrsize = nphdrs * elfhdrp->e_phentsize; in read_elf64()
786 phdr = (Elf64_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf64()
845 phdr = (Elf64_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf64()
1028 AUX64(av, AT_PHENT, elfhdrp->e_phentsize); in read_elf64()
/titanic_44/usr/src/lib/libc/i386/crt/
H A D_rtld.c169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) in __rtld()
222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) { in __rtld()
/titanic_44/usr/src/lib/libc/sparc/crt/
H A D_rtld.c169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) in __rtld()
222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) { in __rtld()
/titanic_44/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c123 h.e_phentsize != sizeof(Elf_Phdr) || in __fex_read_syms()
128 size = h.e_phnum * h.e_phentsize; in __fex_read_syms()
/titanic_44/usr/src/uts/common/exec/elf/
H A Delf.c367 hsize = ehdrp->e_phentsize; in elfexec()
658 ADDAUX(aux, AT_PHENT, ehdrp->e_phentsize) in elfexec()
947 int hsize = ehdrp->e_phentsize; in elfsize()
1090 if (ehdr->e_phentsize < minsize || (ehdr->e_phentsize & 3)) in getelfphdr()
1093 *phsizep = nphdrs * ehdr->e_phentsize; in getelfphdr()
1223 int hsize = ehdr->e_phentsize; in mapelfexec()
1868 ehdr->e_phentsize = sizeof (Phdr); in elfcore()
1881 ehdr->e_shoff = ehdr->e_phoff + ehdr->e_phentsize * nphdrs; in elfcore()
/titanic_44/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c119 phdr = (Elf64_Phdr *)(allphdrs + eh->e_phentsize * i); in dboot_elfload64()
/titanic_44/usr/src/uts/sun4/os/
H A Dmlsetup.c411 bootaux[BA_PHENT].ba_val = ehdr->e_phentsize;
417 phdr = (Phdr *)((uintptr_t)padr + i * ehdr->e_phentsize);
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h78 Elf32_Half e_phentsize; /* program header entry size */ member
/titanic_44/usr/src/uts/common/sys/
H A Delf.h79 Elf32_Half e_phentsize; /* sizeof phdr */ member
97 Elf64_Half e_phentsize; /* sizeof phdr */ member
/titanic_44/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c100 off += ehdr.e_phentsize; in rli_func()
/titanic_44/usr/src/lib/libctf/common/
H A Dctf_lib.c129 dst->e_phentsize = src->e_phentsize; in ehdr_to_gelf()
/titanic_44/usr/src/uts/i86pc/os/
H A Dfastboot.c374 if ((ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize) >= imgsz) in fastboot_elf64_find_dboot_load_offset()
380 phdr = (Elf64_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf64_find_dboot_load_offset()
413 if ((ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize) >= imgsz) in fastboot_elf32_find_loadables()
419 phdr = (Elf32_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf32_find_loadables()
/titanic_44/usr/src/uts/common/os/
H A Dbrand.c454 dst->e_phentsize = src->e_phentsize; in Ehdr32to64()
761 sedp->sed_phent = ehdr.e_phentsize; in brand_solaris_elfexec()
/titanic_44/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c501 EC_WORD(ehdr->e_phentsize)); in print_ehdr()
975 if (ehdr->e_phentsize == phentsize) { in cmd_body()
978 EC_WORD(ehdr->e_phentsize)); in cmd_body()
982 EC_WORD(ehdr->e_phentsize), in cmd_body()
985 ehdr->e_phentsize = phentsize; in cmd_body()
/titanic_44/usr/src/tools/mbh_patch/
H A Dmbh_patch.c182 phdr = (Elf64_Phdr *)(phdrs + eh->e_phentsize * ndx); in patch64()

12