Lines Matching refs:st_shndx
238 if (pSym->st_shndx == SHN_UNDEF)
252 AssertMsgReturn(pSym->st_shndx < pModElf->cSyms || pSym->st_shndx == SHN_ABS, ("%#x\n", pSym->st_shndx),
262 if (pSym->st_shndx < pModElf->cSyms)
285 if (pSym->st_shndx < pModElf->Ehdr.e_shnum)
287 else if (pSym->st_shndx == SHN_ABS)
289 else if (pSym->st_shndx == SHN_UNDEF)
304 if (pSym->st_shndx < pModElf->Ehdr.e_shnum)
306 else if (pSym->st_shndx == SHN_ABS)
308 else if (pSym->st_shndx == SHN_UNDEF)
434 switch (pSym->st_shndx)
476 if (pSym->st_shndx >= pModElf->Ehdr.e_shnum)
479 AssertMsg(pSym->st_shndx < pModElf->Ehdr.e_shnum,
480 ("iSym=%d st_shndx=%d e_shnum=%d pszName=%s\n", iSym, pSym->st_shndx, pModElf->Ehdr.e_shnum, pszName));
483 *pSymValue = pSym->st_value + pModElf->paShdrs[pSym->st_shndx].sh_addr + BaseAddr;
484 Log2(("rtldrELF: #%-3d - %5d " FMT_ELF_ADDR " '%s'\n", iSym, pSym->st_shndx, *pSymValue, pszName));
548 SymValue, (unsigned)pSym->st_shndx, pSym->st_info, ELF_STR(pModElf, pSym->st_name)));
717 if (paSyms[iSym].st_shndx != SHN_UNDEF)
723 if (paSyms[iSym].st_shndx == SHN_ABS)
726 else if (paSyms[iSym].st_shndx < pModElf->Ehdr.e_shnum)
730 Value = BaseAddr + paSyms[iSym].st_value + pModElf->paShdrs[paSyms[iSym].st_shndx].sh_addr;
736 AssertMsgFailed(("Arg! paSyms[%u].st_shndx=" FMT_ELF_HALF "\n", iSym, paSyms[iSym].st_shndx));
931 if (pSym->st_shndx == SHN_ABS)
934 else if (pSym->st_shndx < pThis->Ehdr.e_shnum)
938 Value = uBaseAddr + pSym->st_value + pThis->paShdrs[pSym->st_shndx].sh_addr;
944 AssertMsgFailed(("Arg! pSym->st_shndx=%d\n", pSym->st_shndx));
984 if ( paSyms[iSym].st_shndx != SHN_UNDEF
1007 if ( paSyms[iOrdinal].st_shndx != SHN_UNDEF