Searched refs:SHN_XINDEX (Results 1 – 19 of 19) sorted by relevance
84 e->e_u.e_elf.e_strndx = (strndx != SHN_XINDEX) ? strndx : in _libelf_load_extended()192 strndx == SHN_XINDEX))) { in _libelf_ehdr()201 if ((shnum == 0 && shoff != 0) || phnum == PN_XNUM || strndx == SHN_XINDEX) { in _libelf_ehdr()
96 shstrndx = SHN_XINDEX; in _libelf_setshstrndx()
87 result |= e_shstrndx_hdr == SHN_XINDEX; in HasHeaderExtension()109 if (e_shstrndx_hdr == SHN_XINDEX) in ParseHeaderExtension()303 ENUM_TO_CSTR(SHN_XINDEX); in sectionIndexToCString()
543 assert(Sym.st_shndx == ELF::SHN_XINDEX); in getExtendedSymbolTableIndex()562 if (Index == ELF::SHN_XINDEX) { in getSectionIndex()768 if (Index == ELF::SHN_XINDEX) { in getSectionStringTable()
307 if ((shstrndx == SHN_XINDEX) || (shnum == 0)) { in ctf_fdopen()
495 if (Shndx == ELF::SHN_XINDEX) { in graphifySymbols()
428 #define SHN_XINDEX 0xffff /* Escape -- index stored elsewhere. */ macro
690 return SHN_XINDEX; in getShndx()1590 if (Sym.st_shndx == SHN_XINDEX) { in initSymbolTable()1829 if (ShstrIndex == SHN_XINDEX) { in readSections()2068 Ehdr.e_shstrndx = SHN_XINDEX; in writeEhdr()
755 SYMBOL_XINDEX = ELF::SHN_XINDEX,
1061 SHN_XINDEX = 0xffff, // Mark that the index is >= SHN_LORESERVE enumerator
1201 if (LLVM_UNLIKELY(secIdx == SHN_XINDEX)) in initSectionsAndLocalSyms()1261 if (LLVM_UNLIKELY(secIdx == SHN_XINDEX)) in postParse()
2237 return os->sectionIndex >= SHN_LORESERVE ? (uint32_t)SHN_XINDEX in getSymSectionIndex()2331 if (!getCommonSec(entry.sym) && getSymSectionIndex(entry.sym) == SHN_XINDEX) in writeTo()
2736 eHdr->e_shstrndx = SHN_XINDEX; in writeHeader()
1013 if (Ndx == SHN_XINDEX) in getSymbolSectionIndex()3525 if (ElfHeader.e_shstrndx != SHN_XINDEX) in getSectionHeaderTableIndexString()4210 case ELF::SHN_XINDEX: { in getSymbolSectionNdx()4214 assert(Symbol.st_shndx == SHN_XINDEX && in getSymbolSectionNdx()7326 if (Symbol.isReserved() && Symbol.st_shndx != SHN_XINDEX) in printSymbolSection()7339 assert(Symbol.st_shndx == SHN_XINDEX && in printSymbolSection()7343 W.printHex("Section", "Reserved", SHN_XINDEX); in printSymbolSection()
497 if (shstrndx == SHN_XINDEX) in elf_get_shstrndx()
245 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx; in writeSymbol()
1110 _ELF_DEFINE_SHN(SHN_XINDEX, 0xFFFFU, "extended index") \
824 ECase(SHN_XINDEX); in enumeration()
2349 if (re->ehdr.e_shstrndx == SHN_XINDEX) { in dump_ehdr()