/titanic_44/usr/src/cmd/sgs/libelf/common/ |
H A D | newphdr.c | 110 ((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 D | update.c | 183 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 D | gelf.c | 111 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 D | Psymtab_machelf32.c | 345 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 D | Pcore.c | 1606 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 D | Pgcore.c | 1130 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 D | Pcontrol.h | 183 Elf64_Half e_phentsize; member
|
/titanic_44/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
|
/titanic_44/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()
|
/titanic_44/usr/src/tools/elfextract/ |
H A D | elfextract.c | 88 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 D | readfile.c | 367 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.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()
|
/titanic_44/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()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 367 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 D | dboot_elfload.c | 119 phdr = (Elf64_Phdr *)(allphdrs + eh->e_phentsize * i); in dboot_elfload64()
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 411 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 D | i386-elf.h | 78 Elf32_Half e_phentsize; /* program header entry size */ member
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | elf.h | 79 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 D | plt32_resolution.c | 100 off += ehdr.e_phentsize; in rli_func()
|
/titanic_44/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 129 dst->e_phentsize = src->e_phentsize; in ehdr_to_gelf()
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 374 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 D | brand.c | 454 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 D | ehdr.c | 501 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 D | mbh_patch.c | 182 phdr = (Elf64_Phdr *)(phdrs + eh->e_phentsize * ndx); in patch64()
|