/opensolaris-onvv-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) 540 if (eh->e_phnum != 0) { 554 dst.d_size = eh->e_phnum * eh->e_phentsize; 854 Half e_phnum; local 864 e_phnum [all...] |
H A D | clscook.c | 305 if (eh->e_phnum == 0) 314 fsz *= eh->e_phnum; 316 msz = _elf_msize(ELF_T_PHDR, work) * eh->e_phnum;
|
/opensolaris-onvv-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++) {
|
/opensolaris-onvv-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++) {
|
/opensolaris-onvv-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++) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 117 if ((ehdr.e_phnum != 0) && !(fflag)) { 118 process_phdr(elf, ehdr.e_phnum); 189 if (ehdr.e_phnum != 0) { 190 process_phdr(elf, ehdr.e_phnum);
|
/opensolaris-onvv-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);
|
/opensolaris-onvv-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:__anon2327 193 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon2328
|
/opensolaris-onvv-gate/usr/src/tools/ctf/cvt/ |
H A D | output.c | 483 if (sehdr.e_phnum != 0) { 485 if (gelf_newphdr(dst, sehdr.e_phnum) == NULL) 488 for (i = 0; i < sehdr.e_phnum; i++) { 552 if (changing && sehdr.e_phnum != 0) { 588 if (sehdr.e_phnum != 0) 640 if (changing && sehdr.e_phnum != 0) { 658 if (sehdr.e_phnum != 0) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/dump/common/ |
H A D | fcns.c | 108 if ((gelf_getehdr(elf_file, &ehdr) == 0) || (ehdr.e_phnum == 0)) {
|
/opensolaris-onvv-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++,
|
/opensolaris-onvv-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++,
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1072 efp->e_hdr.e_phnum = (Elf64_Word)e64.e_phnum; 1092 efp->e_hdr.e_phnum = (Elf64_Word)e32.e_phnum; 1107 efp->e_hdr.e_phnum == PN_XNUM) { 1149 if (efp->e_hdr.e_phnum == PN_XNUM && shdr.sh_info != 0) { 1150 efp->e_hdr.e_phnum = shdr.sh_info; 1160 * accidentally truncated the e_phnum field without correctly 1191 if (phdr.p_offset != 0 && phnum != efp->e_hdr.e_phnum) { 1193 (uint_t)phnum, efp->e_hdr.e_phnum); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 83 for (i = 0; i < ehdr.e_phnum; i++) {
|
/opensolaris-onvv-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:__anon2425
|
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++)
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-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++) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | dldump.c | 278 for (num = 0, ophdr = iphdr; num != iehdr->e_phnum; num++, ophdr++) { 538 if ((ophdr = elf_newphdr(oelf, iehdr->e_phnum)) == NULL) { 543 for (num = 0; num != iehdr->e_phnum; num++, iphdr++, ophdr++) {
|
/opensolaris-onvv-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 355 if (elfhdrp->e_phnum == 0 || elfhdrp->e_phoff == 0) 366 nphdrs = elfhdrp->e_phnum; 636 AUX(av, AT_PHNUM, elfhdrp->e_phnum); 755 if (elfhdrp->e_phnum == 0 || elfhdrp->e_phoff == 0) 765 nphdrs = elfhdrp->e_phnum; 1027 AUX64(av, AT_PHNUM, elfhdrp->e_phnum);
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | readelf.c | 151 for (ndx = 0; ndx < ehdr.e_phnum; ndx++) { 249 for (i = 0; i < ehdr.e_phnum; i++) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/ldd/common/ |
H A D | ldd.c | 490 for (cnt = 0; cnt < (int)ehdr.e_phnum; cnt++) { 544 if (ehdr.e_phnum && !dynamic) {
|