Lines Matching defs:st_shndx

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