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()
549 assert(Sym.st_shndx == ELF::SHN_XINDEX); in getExtendedSymbolTableIndex()568 if (Index == ELF::SHN_XINDEX) { in getSectionIndex()774 if (Index == ELF::SHN_XINDEX) { in getSectionStringTable()
307 if ((shstrndx == SHN_XINDEX) || (shnum == 0)) { in ctf_fdopen()
496 if (Shndx == ELF::SHN_XINDEX) { in graphifySymbols()
429 #define SHN_XINDEX 0xffff /* Escape -- index stored elsewhere. */ macro
687 return SHN_XINDEX; in getShndx()1587 if (Sym.st_shndx == SHN_XINDEX) { in initSymbolTable()1826 if (ShstrIndex == SHN_XINDEX) { in readSections()2065 Ehdr.e_shstrndx = SHN_XINDEX; in writeEhdr()
759 SYMBOL_XINDEX = ELF::SHN_XINDEX,
1135 SHN_XINDEX = 0xffff, // Mark that the index is >= SHN_LORESERVE enumerator
1213 if (LLVM_UNLIKELY(secIdx == SHN_XINDEX)) in initSectionsAndLocalSyms()1279 if (secIdx == SHN_XINDEX) in postParse()
2297 return os->sectionIndex >= SHN_LORESERVE ? (uint32_t)SHN_XINDEX in getSymSectionIndex()2394 getSymSectionIndex(entry.sym) == SHN_XINDEX) in writeTo()
2906 eHdr->e_shstrndx = SHN_XINDEX; in writeHeader()
1014 if (Ndx == SHN_XINDEX) in getSymbolSectionIndex()3581 if (ElfHeader.e_shstrndx != SHN_XINDEX) in getSectionHeaderTableIndexString()4275 case ELF::SHN_XINDEX: { in getSymbolSectionNdx()4279 assert(Symbol.st_shndx == SHN_XINDEX && in getSymbolSectionNdx()7441 if (Symbol.isReserved() && Symbol.st_shndx != SHN_XINDEX) in printSymbolSection()7454 assert(Symbol.st_shndx == SHN_XINDEX && in printSymbolSection()7458 W.printHex("Section", "Reserved", SHN_XINDEX); in printSymbolSection()
498 if (shstrndx == SHN_XINDEX) in elf_get_shstrndx()
259 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx; in writeSymbol()
1110 _ELF_DEFINE_SHN(SHN_XINDEX, 0xFFFFU, "extended index") \
846 ECase(SHN_XINDEX); in enumeration()
2349 if (re->ehdr.e_shstrndx == SHN_XINDEX) { in dump_ehdr()