/titanic_51/usr/src/tools/elfextract/ |
H A D | elfextract.c | 68 if (eh->e_phnum == 0 || eh->e_phoff == 0) { in extract32() 79 pname, eh->e_phnum); in extract32() 86 for (i = 0; i < eh->e_phnum; i++) { in extract32() 138 if (eh->e_phnum == 0 || eh->e_phoff == 0) { in extract64() 149 pname, eh->e_phnum); in extract64() 156 for (i = 0; i < eh->e_phnum; i++) { in extract64()
|
/titanic_51/usr/src/cmd/sgs/libelf/common/ |
H A D | getphnum.c | 56 if (ehdr.e_phnum != PN_XNUM) { in elf_getphdrnum() 57 *phnum = ehdr.e_phnum; in elf_getphdrnum() 66 *phnum = ehdr.e_phnum; in elf_getphdrnum()
|
H A D | newphdr.c | 109 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr() 120 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr() 131 ((Ehdr*)elf->ed_ehdr)->e_phnum = (Half)count; in elf_newphdr()
|
H A D | update.c | 181 if (eh->e_phnum != 0) { in _elf_upd_lib() 186 hi += eh->e_phentsize * eh->e_phnum; in _elf_upd_lib() 195 * is used to hold an alternative e_shnum, e_shstrndx and e_phnum. in _elf_upd_lib() 199 * e_phnum may have already been initialized by the caller (for example, in _elf_upd_lib() 373 if (eh->e_phnum != 0) in _elf_upd_usr() 378 if ((sz = eh->e_phoff + eh->e_phentsize * eh->e_phnum) > hi) in _elf_upd_usr() 549 if (eh->e_phnum != 0) { in wrt() 563 dst.d_size = eh->e_phnum * eh->e_phentsize; in wrt() 863 Half e_phnum; in _elfxx_swap_wrimage() local 873 e_phnum in _elfxx_swap_wrimage() [all...] |
H A D | clscook.c | 304 if (eh->e_phnum == 0) in _elf_phdr() 313 fsz *= eh->e_phnum; in _elf_phdr() 315 msz = _elf_msize(ELF_T_PHDR, work) * eh->e_phnum; in _elf_phdr()
|
/titanic_51/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 95 if (eh->e_phnum == 0 || eh->e_phoff == 0) in dboot_elfload64() 103 dboot_panic("Failed to get program headers e_phnum = %d", in dboot_elfload64() 104 eh->e_phnum); in dboot_elfload64() 117 for (i = 0; i < eh->e_phnum; i++) { in dboot_elfload64()
|
/titanic_51/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 118 if ((ehdr.e_phnum != 0) && !(fflag)) { in process() 119 process_phdr(elf, ehdr.e_phnum); in process() 195 if (ehdr.e_phnum != 0) { in process() 196 process_phdr(elf, ehdr.e_phnum); in process()
|
/titanic_51/usr/src/tools/ctf/cvt/ |
H A D | output.c | 480 if (sehdr.e_phnum != 0) { in write_file() 482 if (gelf_newphdr(dst, sehdr.e_phnum) == 0) in write_file() 485 for (i = 0; i < sehdr.e_phnum; i++) { in write_file() 543 if (changing && sehdr.e_phnum != 0) { in write_file() 579 if (sehdr.e_phnum != 0) in write_file() 631 if (changing && sehdr.e_phnum != 0) { in write_file() 649 if (sehdr.e_phnum != 0) { in write_file()
|
/titanic_51/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 122 if ((eh->e_phnum == 0) || (eh->e_phoff == 0)) { in patch64() 133 "hdrs\n", pname, fname, eh->e_phnum); in patch64() 180 for (ndx = 0; ndx < eh->e_phnum; ndx++) { in patch64()
|
/titanic_51/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 277 if ((ehdr.e_phnum != 0) && in process_file() 324 int phnum = ehdr->e_phnum; in traverse_file() 363 if (ehdr->e_phnum == 0) in traverse_file() 743 if (src_ehdr->e_phnum != 0) { in build_file() 746 if (gelf_newphdr(dst_elf, src_ehdr->e_phnum) == NULL) { in build_file() 752 for (x = 0; x < src_ehdr->e_phnum; ++x) { in build_file() 969 ((src_ehdr->e_phnum == 0) || in build_file() 997 if (src_ehdr->e_phnum != 0) { in build_file() 1044 if (src_ehdr->e_phnum != NULL) in build_file() 1167 if (src_ehdr->e_phnum ! in build_file() [all...] |
/titanic_51/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 176 Elf32_Half e_phnum; /* Number of program header entries. */ member 193 Elf64_Half e_phnum; /* Number of program header entries. */ member
|
/titanic_51/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 76 * The e_shnum, e_shstrndx and e_phnum entries may have a different in Elf_ehdr() 95 if (ehdr->e_phnum == PN_XNUM) { in Elf_ehdr() 101 ehdr->e_phentsize, ehdr->e_phnum); in Elf_ehdr()
|
/titanic_51/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | ehdr.c | 66 EHDR_CMD_T_E_PHNUM = 11, /* ehdr:e_phnum */ 506 Word num = ehdr->e_phnum; in print_ehdr() 998 Half e_phnum; in cmd_body() local 1002 e_phnum = PN_XNUM; in cmd_body() 1005 e_phnum = phnum; in cmd_body() 1009 if (ehdr->e_phnum == e_phnum) { in cmd_body() 1012 EC_WORD(ehdr->e_phnum)); in cmd_body() 1016 EC_WORD(ehdr->e_phnum), e_phnum); in cmd_body() [all...] |
/titanic_51/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 168 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++, in __rtld() 221 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++, in __rtld()
|
/titanic_51/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 168 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++, in __rtld() 221 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++, in __rtld()
|
/titanic_51/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1607 efp->e_hdr.e_phnum = (Elf64_Word)e64.e_phnum; in core_elf_fdopen() 1627 efp->e_hdr.e_phnum = (Elf64_Word)e32.e_phnum; in core_elf_fdopen() 1642 efp->e_hdr.e_phnum == PN_XNUM) { in core_elf_fdopen() 1684 if (efp->e_hdr.e_phnum == PN_XNUM && shdr.sh_info != 0) { in core_elf_fdopen() 1685 efp->e_hdr.e_phnum = shdr.sh_info; in core_elf_fdopen() 1695 * accidentally truncated the e_phnum field without correctly in core_elf_fdopen() 1726 if (phdr.p_offset != 0 && phnum != efp->e_hdr.e_phnum) { in core_elf_fdopen() 1728 (uint_t)phnum, efp->e_hdr.e_phnum); in core_elf_fdopen() [all...] |
/titanic_51/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 128 size = h.e_phnum * h.e_phentsize; in __fex_read_syms() 146 nph = h.e_phnum; in __fex_read_syms()
|
/titanic_51/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 355 if (elfhdrp->e_phnum == 0 || elfhdrp->e_phoff == 0) in read_elf32() 366 nphdrs = elfhdrp->e_phnum; in read_elf32() 636 AUX(av, AT_PHNUM, elfhdrp->e_phnum); in read_elf32() 755 if (elfhdrp->e_phnum == 0 || elfhdrp->e_phoff == 0) in read_elf64() 765 nphdrs = elfhdrp->e_phnum; in read_elf64() 1027 AUX64(av, AT_PHNUM, elfhdrp->e_phnum); in read_elf64()
|
/titanic_51/usr/src/cmd/sgs/rtld/common/ |
H A D | object.c | 313 if ((mpp = hmpp = calloc(ehdr->e_phnum, in elf_obj_fini() 316 for (mnum = 0, phnum = 0; phnum < ehdr->e_phnum; phnum++) { in elf_obj_fini()
|
/titanic_51/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 410 bootaux[BA_PHNUM].ba_val = ehdr->e_phnum; 416 for (i = 0; i < ehdr->e_phnum; i++) {
|
/titanic_51/usr/src/cmd/sgs/dump/common/ |
H A D | fcns.c | 108 if ((gelf_getehdr(elf_file, &ehdr) == 0) || (ehdr.e_phnum == 0)) { in dump_exec_header()
|
/titanic_51/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 79 Elf32_Half e_phnum; /* number of entries in program header */ member
|
/titanic_51/usr/src/cmd/sgs/rtld.4.x/ |
H A D | rtld.4.x.c | 413 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++, 468 for (pptr = phdr; (pptr - phdr) < (int)ehdr->e_phnum; pptr++) {
|
/titanic_51/usr/src/boot/sys/sys/ |
H A D | elf32.h | 66 Elf32_Half e_phnum; /* Number of program header entries. */ member
|
H A D | elf64.h | 75 Elf64_Half e_phnum; /* Number of program header entries. */ member
|