Lines Matching refs:st_shndx
79 uint16_t st_shndx = 0x0; in readSymbols() local
95 st_shndx = symtab[idx].st_shndx; in readSymbols()
100 st_shndx = mcld::bswap16(symtab[idx].st_shndx); in readSymbols()
105 if (pInput.type() == Input::Object && st_shndx < llvm::ELF::SHN_LORESERVE && in readSymbols()
106 st_shndx != llvm::ELF::SHN_UNDEF) { in readSymbols()
107 if (pInput.context()->getSection(st_shndx) == NULL) in readSymbols()
108 st_shndx = llvm::ELF::SHN_UNDEF; in readSymbols()
112 ResolveInfo::Type ld_type = getSymType(st_info, st_shndx); in readSymbols()
115 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput); in readSymbols()
119 getSymBinding((st_info >> 4), st_shndx, st_other); in readSymbols()
122 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput); in readSymbols()
129 if (st_shndx < llvm::ELF::SHN_LORESERVE) // including ABS and COMMON in readSymbols()
130 section = pInput.context()->getSection(st_shndx); in readSymbols()
448 uint16_t st_shndx = 0x0; in readSignature() local
453 st_shndx = entry->st_shndx; in readSignature()
456 st_shndx = mcld::bswap16(entry->st_shndx); in readSignature()
468 result->setDesc(getSymDesc(st_shndx, pInput)); in readSignature()
469 result->setBinding(getSymBinding((st_info >> 4), st_shndx, st_other)); in readSignature()
579 uint16_t st_shndx = 0x0; in readSymbols() local
595 st_shndx = symtab[idx].st_shndx; in readSymbols()
600 st_shndx = mcld::bswap16(symtab[idx].st_shndx); in readSymbols()
605 if (pInput.type() == Input::Object && st_shndx < llvm::ELF::SHN_LORESERVE && in readSymbols()
606 st_shndx != llvm::ELF::SHN_UNDEF) { in readSymbols()
607 if (pInput.context()->getSection(st_shndx) == NULL) in readSymbols()
608 st_shndx = llvm::ELF::SHN_UNDEF; in readSymbols()
612 ResolveInfo::Type ld_type = getSymType(st_info, st_shndx); in readSymbols()
615 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput); in readSymbols()
619 getSymBinding((st_info >> 4), st_shndx, st_other); in readSymbols()
622 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput); in readSymbols()
629 if (st_shndx < llvm::ELF::SHN_LORESERVE) // including ABS and COMMON in readSymbols()
630 section = pInput.context()->getSection(st_shndx); in readSymbols()
942 uint16_t st_shndx = 0x0; in readSignature() local
947 st_shndx = entry->st_shndx; in readSignature()
950 st_shndx = mcld::bswap16(entry->st_shndx); in readSignature()
962 result->setDesc(getSymDesc(st_shndx, pInput)); in readSignature()
963 result->setBinding(getSymBinding((st_info >> 4), st_shndx, st_other)); in readSignature()