Searched refs:SHN_LORESERVE (Results 1 – 16 of 16) sorted by relevance
53 if (shnum >= SHN_LORESERVE) { in _libelf_setshnum()83 if (shstrndx >= SHN_LORESERVE) { in _libelf_setshstrndx()
190 if (shnum >= SHN_LORESERVE || in _libelf_ehdr()
233 bool LargeIndex = shndx >= ELF::SHN_LORESERVE && !Reserved; in writeSymbol()328 assert(StringTableIndex < ELF::SHN_LORESERVE); in writeHeader()551 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()577 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()936 (NumSections + 1) >= ELF::SHN_LORESERVE ? NumSections + 1 : 0; in writeSectionHeader()1082 (SectionTable.size() + 1 >= ELF::SHN_LORESERVE) ? (uint16_t)ELF::SHN_UNDEF in writeObject()
689 if (DefinedIn->Index >= SHN_LORESERVE) in getShndx()729 if (Shndx >= SHN_LORESERVE) in addSymbol()840 if (Sym->DefinedIn != nullptr && Sym->DefinedIn->Index >= SHN_LORESERVE) in fillShndxTable()1622 } else if (Sym.st_shndx >= SHN_LORESERVE) { in initSymbolTable()2057 if (Shnum >= SHN_LORESERVE) in writeEhdr()2067 if (Obj.SectionNames->Index >= SHN_LORESERVE) in writeEhdr()2096 if (Shnum >= SHN_LORESERVE) in writeShdrs()2101 if (Obj.SectionNames != nullptr && Obj.SectionNames->Index >= SHN_LORESERVE) in writeShdrs()2592 if (Obj.sections().size() >= SHN_LORESERVE) { in finalize()2597 any_of(drop_begin(Sections, SHN_LORESERVE - 1), in finalize()
208 if (s->st_shndx != SHN_UNDEF && s->st_shndx < SHN_LORESERVE && in is_remove_symbol()589 sym.st_shndx < SHN_LORESERVE) { in generate_symbols()910 else if (st_shndx == SHN_UNDEF || st_shndx >= SHN_LORESERVE) \ in add_to_symtab()
631 if (sym.st_shndx >= SHN_LORESERVE) in write_file()
418 #define SHN_LORESERVE 0xff00 /* First of reserved range. */ macro
1054 SHN_LORESERVE = 0xff00, // Lowest reserved index enumerator
1203 else if (secIdx >= SHN_LORESERVE) in initSectionsAndLocalSyms()1263 else if (secIdx >= SHN_LORESERVE) in postParse()
2728 if (num >= SHN_LORESERVE) in writeHeader()2734 if (strTabIndex >= SHN_LORESERVE) { in writeHeader()
2237 return os->sectionIndex >= SHN_LORESERVE ? (uint32_t)SHN_XINDEX in getSymSectionIndex()2347 return size >= SHN_LORESERVE; in isNeeded()
267 return st_shndx >= ELF::SHN_LORESERVE;
569 if (Index == ELF::SHN_UNDEF || Index >= ELF::SHN_LORESERVE) in getSectionIndex()
1084 _ELF_DEFINE_SHN(SHN_LORESERVE, 0xFF00U, "start of reserved area") \
817 ECase(SHN_LORESERVE); in enumeration()
1016 if (Ndx != SHN_UNDEF && Ndx < SHN_LORESERVE) in getSymbolSectionIndex()1041 return CreateErr("SHN_LORESERVE", Ndx - SHN_LORESERVE); in getSymbolSectionIndex()4234 if (SectionIndex >= ELF::SHN_LORESERVE && in getSymbolSectionNdx()