Searched refs:PN_XNUM (Results 1 – 15 of 15) sorted by relevance
56 if (ehdr.e_phnum != PN_XNUM) { in elf_getphdrnum()
212 if (((EI_Ehdr_shnum == 0) || (EI_Ehdr_phnum == PN_XNUM)) && in elf_read() 218 if ((EI_Ehdr_phnum == PN_XNUM) && (EI_Shdr.sh_info != 0)) in elf_read()
95 if (ehdr->e_phnum == PN_XNUM) { in Elf_ehdr()
1695 e_phnum: PN_XNUM (see shdr[0].sh_info)"
1094 if (nshdrs == 0 && nphdrs >= PN_XNUM) in Pfgcore() 1125 if (nphdrs >= PN_XNUM) in Pfgcore() 1126 ehdr.e_phnum = PN_XNUM; in Pfgcore() 1183 if (nphdrs >= PN_XNUM) in Pfgcore() 1184 ehdr.e_phnum = PN_XNUM; in Pfgcore() 1224 nphdrs >= PN_XNUM ? nphdrs : 0, 0, 0) != 0) in Pfgcore()
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()
1036 if ((*phnum = ehdr->e_phnum) == PN_XNUM) { in read_ehdr32() 1090 if ((*phnum = ehdr->e_phnum) == PN_XNUM) { in read_ehdr64()
1042 *shstrndx == SHN_XINDEX || *nphdrs == PN_XNUM) { in getelfhead() 1057 if (*nphdrs == PN_XNUM && shdr.sh_info != 0) in getelfhead() 1807 if (nshdrs == 0 && nphdrs >= PN_XNUM) in elfcore() 1862 if (nphdrs >= PN_XNUM) in elfcore() 1863 ehdr->e_phnum = PN_XNUM; in elfcore() 2159 if (nphdrs >= PN_XNUM) in elfcore()
512 if (num == PN_XNUM) in print_ehdr() 1001 if (phnum >= PN_XNUM) { in cmd_body() 1002 e_phnum = PN_XNUM; in cmd_body()
370 to PN_XNUM (0xffff), e_phnum has the value PN_XNUM, and the\n\
608 gf->gf_shstrndx == SHN_XINDEX || gf->gf_phnum == PN_XNUM) { in gelf32_init() 631 if (gf->gf_phnum == PN_XNUM) in gelf32_init() 667 gf->gf_shstrndx == SHN_XINDEX || gf->gf_phnum == PN_XNUM) { in gelf64_init() 690 if (gf->gf_phnum == PN_XNUM) in gelf64_init()
525 #define PN_XNUM 0xffff /* extended program header index */ macro
521 #define PN_XNUM 0xffff macro
387 if (ehdr->e_phnum != PN_XNUM) { in _rd_get_ehdr32()
1998 if (nphdrs == PN_XNUM) { in doelfwork()