/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | getphnum.c | 56 if (ehdr.e_phnum != PN_XNUM) { 57 *phnum = ehdr.e_phnum; 66 *phnum = ehdr.e_phnum;
|
H A D | newphdr.c | 109 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; 120 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; 131 ((Ehdr*)elf->ed_ehdr)->e_phnum = (Half)count;
|
H A D | update.c | 181 if (eh->e_phnum != 0) { 186 hi += eh->e_phentsize * eh->e_phnum; 195 * is used to hold an alternative e_shnum, e_shstrndx and e_phnum. 199 * e_phnum may have already been initialized by the caller (for example, 373 if (eh->e_phnum != 0) 378 if ((sz = eh->e_phoff + eh->e_phentsize * eh->e_phnum) > hi) 549 if (eh->e_phnum != 0) { 563 dst.d_size = eh->e_phnum * eh->e_phentsize; 863 Half e_phnum; local 873 e_phnum [all...] |
H A D | clscook.c | 304 if (eh->e_phnum == 0) 313 fsz *= eh->e_phnum; 315 msz = _elf_msize(ELF_T_PHDR, work) * eh->e_phnum;
|
/illumos-gate/usr/src/tools/elfextract/ |
H A D | elfextract.c | 68 if (eh->e_phnum == 0 || eh->e_phoff == 0) { 79 pname, eh->e_phnum); 86 for (i = 0; i < eh->e_phnum; i++) { 138 if (eh->e_phnum == 0 || eh->e_phoff == 0) { 149 pname, eh->e_phnum); 156 for (i = 0; i < eh->e_phnum; i++) {
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 95 if (eh->e_phnum == 0 || eh->e_phoff == 0) 103 dboot_panic("Failed to get program headers e_phnum = %d", 104 eh->e_phnum); 117 for (i = 0; i < eh->e_phnum; i++) {
|
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 71 if ((eh->e_phnum == 0) || (eh->e_phoff == 0)) { 82 "hdrs\n", pname, fname, eh->e_phnum); 105 for (ndx = 0; ndx < eh->e_phnum; ndx++) {
|
/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 118 if ((ehdr.e_phnum != 0) && !(fflag)) { 119 process_phdr(elf, ehdr.e_phnum); 195 if (ehdr.e_phnum != 0) { 196 process_phdr(elf, ehdr.e_phnum);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 176 Elf32_Half e_phnum; /* Number of program header entries. */ member in struct:__anon2085 193 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon2086
|
/illumos-gate/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 95 if (ehdr->e_phnum == PN_XNUM) { 101 ehdr->e_phentsize, ehdr->e_phnum);
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | output.c | 480 if (sehdr.e_phnum != 0) { 482 if (gelf_newphdr(dst, sehdr.e_phnum) == 0) 485 for (i = 0; i < sehdr.e_phnum; i++) { 543 if (changing && sehdr.e_phnum != 0) { 579 if (sehdr.e_phnum != 0) 631 if (changing && sehdr.e_phnum != 0) { 649 if (sehdr.e_phnum != 0) {
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | fcns.c | 108 if ((gelf_getehdr(elf_file, &ehdr) == 0) || (ehdr.e_phnum == 0)) {
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 168 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++, 221 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++,
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 168 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++, 221 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++,
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 277 if ((ehdr.e_phnum != 0) && 324 int phnum = ehdr->e_phnum; 363 if (ehdr->e_phnum == 0) 743 if (src_ehdr->e_phnum != 0) { 746 if (gelf_newphdr(dst_elf, src_ehdr->e_phnum) == NULL) { 752 for (x = 0; x < src_ehdr->e_phnum; ++x) { 969 ((src_ehdr->e_phnum == 0) || 997 if (src_ehdr->e_phnum != 0) { 1044 if (src_ehdr->e_phnum != NULL) 1167 if (src_ehdr->e_phnum ! [all...] |
/illumos-gate/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 in struct:__anon2184
|
H A D | boot.c | 116 if (pu.elf->e_phoff == 0 || pu.elf->e_phnum == 0 117 || ((pu.elf->e_phoff + (pu.elf->e_phentsize * pu.elf->e_phnum)) 599 for (i = 0; i < pu.elf->e_phnum; i++)
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 83 for (i = 0; i < ehdr.e_phnum; i++) {
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf32.h | 66 Elf32_Half e_phnum; /* Number of program header entries. */ member in struct:__anon407
|
H A D | elf64.h | 75 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon424
|
/illumos-gate/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; 998 Half e_phnum; local 1002 e_phnum = PN_XNUM; 1005 e_phnum = phnum; 1009 if (ehdr->e_phnum == e_phnum) { 1012 EC_WORD(ehdr->e_phnum)); 1016 EC_WORD(ehdr->e_phnum), e_phnum); [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 128 size = h.e_phnum * h.e_phentsize; 146 nph = h.e_phnum;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | object.c | 313 if ((mpp = hmpp = calloc(ehdr->e_phnum, 316 for (mnum = 0, phnum = 0; phnum < ehdr->e_phnum; phnum++) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1658 efp->e_hdr.e_phnum = (Elf64_Word)e64.e_phnum; 1678 efp->e_hdr.e_phnum = (Elf64_Word)e32.e_phnum; 1693 efp->e_hdr.e_phnum == PN_XNUM) { 1735 if (efp->e_hdr.e_phnum == PN_XNUM && shdr.sh_info != 0) { 1736 efp->e_hdr.e_phnum = shdr.sh_info; 1746 * accidentally truncated the e_phnum field without correctly 1777 if (phdr.p_offset != 0 && phnum != efp->e_hdr.e_phnum) { 1779 (uint_t)phnum, efp->e_hdr.e_phnum); [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | dldump.c | 277 for (num = 0, ophdr = iphdr; num != iehdr->e_phnum; num++, ophdr++) { 551 if ((ophdr = elf_newphdr(oelf, iehdr->e_phnum)) == NULL) { 556 for (num = 0; num != iehdr->e_phnum; num++, iphdr++, ophdr++) {
|