/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | newphdr.c | 108 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr() 119 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr() 130 ((Ehdr*)elf->ed_ehdr)->e_phentsize in elf_newphdr()
|
H A D | update.c | 186 eh->e_phentsize = (Half)elf_fsize(ELF_T_PHDR, 1, ver); in _elf_upd_lib() 189 hi += eh->e_phentsize * eh->e_phnum; in _elf_upd_lib() 192 eh->e_phentsize = 0; in _elf_upd_lib() 377 eh->e_phentsize = (Half)elf_fsize(ELF_T_PHDR, 1, ver); in _elf_upd_usr() 379 eh->e_phentsize = 0; in _elf_upd_usr() 380 if ((sz = eh->e_phoff + eh->e_phentsize * eh->e_phnum) > hi) in _elf_upd_usr() 564 dst.d_size = eh->e_phnum * eh->e_phentsize; in wrt()
|
H A D | gelf.c | 111 dst->e_phentsize = e->e_phentsize; in gelf_getehdr() 173 d->e_phentsize = src->e_phentsize; in gelf_update_ehdr()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 350 size += phnum * ehdr->e_phentsize; in fake_elf64() 458 ep->e_phentsize = ehdr->e_phentsize; in fake_elf64() 460 ep->e_shoff = ep->e_phoff + phnum * ep->e_phentsize; in fake_elf64() 479 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, in fake_elf64() 480 addr + ehdr->e_phoff) != phnum * ep->e_phentsize) { in fake_elf64()
|
H A D | Pcore.c | 1725 efp->e_hdr.e_phentsize = e64.e_phentsize; in core_elf_fdopen() 1745 efp->e_hdr.e_phentsize = e32.e_phentsize; in core_elf_fdopen() 1843 phnum /= efp->e_hdr.e_phentsize; in core_elf_fdopen() 1862 efp->e_hdr.e_phentsize * in core_elf_fdopen() 1866 efp->e_hdr.e_phentsize * phnum; in core_elf_fdopen() 2453 nbytes = core.e_hdr.e_phnum * core.e_hdr.e_phentsize; 2499 php = (char *)php + core.e_hdr.e_phentsize;
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dw_elfstructs.h | 70 TYP(e_phentsize,2); 88 TYP(e_phentsize,2);
|
H A D | dwarf_elfstructs.h | 78 TYP(e_phentsize,2); 96 TYP(e_phentsize,2);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 175 Elf32_Half e_phentsize; /* Size of program header entry. */ member 192 Elf64_Half e_phentsize; /* Size of program header entry. */ member
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 97 ehdr->e_phentsize); in Elf_ehdr() 101 ehdr->e_phentsize, ehdr->e_phnum); in Elf_ehdr()
|
/illumos-gate/usr/src/tools/elfextract/ |
H A D | elfextract.c | 91 phdr = (Elf32_Phdr *)(allphdrs + eh->e_phentsize * i); in extract32() 161 phdr = (Elf64_Phdr *)(allphdrs + eh->e_phentsize * i); in extract64()
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 295 phdrsize = nphdrs * elfhdrp->e_phentsize; in read_elf32() 314 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf32() 372 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf32() 539 AUX(av, AT_PHENT, elfhdrp->e_phentsize); in read_elf32() 668 phdrsize = nphdrs * elfhdrp->e_phentsize; in read_elf64() 688 phdr = (Elf64_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf64() 747 phdr = (Elf64_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf64() 924 AUX64(av, AT_PHENT, elfhdrp->e_phentsize); in read_elf64()
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) in __rtld() 222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) { in __rtld()
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) in __rtld() 222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) { in __rtld()
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 123 h.e_phentsize != sizeof(Elf_Phdr) || in __fex_read_syms() 128 size = h.e_phnum * h.e_phentsize; in __fex_read_syms()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 413 bootaux[BA_PHENT].ba_val = ehdr->e_phentsize; 419 phdr = (Phdr *)((uintptr_t)padr + i * ehdr->e_phentsize);
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 123 phdr = (Elf64_Phdr *)(allphdrs + eh->e_phentsize * i); in dboot_elfload64()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 78 Elf32_Half e_phentsize; /* program header entry size */ member
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf32.h | 65 Elf32_Half e_phentsize; /* Size of program header entry. */ member
|
H A D | elf64.h | 74 Elf64_Half e_phentsize; /* Size of program header entry. */ member
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 366 if ((ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize) >= imgsz) in fastboot_elf64_find_dboot_load_offset() 372 phdr = (Elf64_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf64_find_dboot_load_offset() 405 if ((ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize) >= imgsz) in fastboot_elf32_find_loadables() 411 phdr = (Elf32_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf32_find_loadables()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1335 hsize = ehdrp->e_phentsize; in calc_loadable() 1341 hsize = ((Elf32_Ehdr *)ehdrp)->e_phentsize; in calc_loadable() 1577 hsize = ehdrp->e_phentsize; in process_phdrs() 1584 hsize = ((Elf32_Ehdr *)ehdrp)->e_phentsize; in process_phdrs() 1981 phentsize = e32hdr->e_phentsize; in doelfwork() 1991 phentsize = e64hdr->e_phentsize; in doelfwork()
|
H A D | brand.c | 455 dst->e_phentsize = src->e_phentsize; in Ehdr32to64() 762 sedp->sed_phent = ehdr.e_phentsize; in brand_solaris_elfexec()
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 97 off += ehdr.e_phentsize; in rli_func()
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 390 const uint_t hsize = ehdrp->e_phentsize; in elfexec() 762 ADDAUX(aux, AT_PHENT, ehdrp->e_phentsize) in elfexec() 1069 const uint_t hsize = ehdrp->e_phentsize; in elfsize() 1202 if (ehdr->e_phentsize < MINPHENTSZ || (ehdr->e_phentsize & 3)) in getelfphdr() 1205 *phsizep = nphdrs * ehdr->e_phentsize; in getelfphdr() 1345 const uint_t hsize = ehdr->e_phentsize; in mapelfexec() 2223 ehdr->e_phentsize = sizeof (Phdr); in elfcore()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 80 Elf32_Half e_phentsize; /* sizeof phdr */ member 98 Elf64_Half e_phentsize; /* sizeof phdr */ member
|