Searched refs:PN_XNUM (Results 1 – 15 of 15) sorted by relevance
56 if (ehdr.e_phnum != PN_XNUM) { in elf_getphdrnum()
213 if (((EI_Ehdr_shnum == 0) || (EI_Ehdr_phnum == PN_XNUM)) && in elf_read()219 if ((EI_Ehdr_phnum == PN_XNUM) && (EI_Shdr.sh_info != 0)) in elf_read()
95 if (ehdr->e_phnum == PN_XNUM) { in Elf_ehdr()
1699 e_phnum: PN_XNUM (see shdr[0].sh_info)"
1150 if (nshdrs == 0 && nphdrs >= PN_XNUM) in Pfgcore()1181 if (nphdrs >= PN_XNUM) in Pfgcore()1182 ehdr.e_phnum = PN_XNUM; in Pfgcore()1239 if (nphdrs >= PN_XNUM) in Pfgcore()1240 ehdr.e_phnum = PN_XNUM; in Pfgcore()1280 nphdrs >= PN_XNUM ? nphdrs : 0, 0, 0) != 0) in Pfgcore()
1795 efp->e_hdr.e_phnum == PN_XNUM) { in core_elf_fdopen()1837 if (efp->e_hdr.e_phnum == PN_XNUM && shdr.sh_info != 0) { in core_elf_fdopen()
1070 if ((*phnum = ehdr->e_phnum) == PN_XNUM) { in read_ehdr32()1124 if ((*phnum = ehdr->e_phnum) == PN_XNUM) { in read_ehdr64()
1157 *shstrndx == SHN_XINDEX || *nphdrs == PN_XNUM) { in getelfhead()1173 if (*nphdrs == PN_XNUM && shdr.sh_info != 0) in getelfhead()2130 if (nshdrs == 0 && nphdrs >= PN_XNUM) in elfcore()2193 if (nphdrs >= PN_XNUM) { in elfcore()2194 ehdr->e_phnum = 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()
526 #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()
2008 if (nphdrs == PN_XNUM) { in doelfwork()