Lines Matching full:relocations
69 int Relocations; member in __anon79e664d50111::COFFSymbol
89 typedef std::vector<COFFRelocation> relocations; typedef
99 relocations Relocations; member in __anon79e664d50111::COFFSection
197 , Relocations(0) in COFFSymbol()
220 // if it has relocations pointing at it, keep it in should_keep()
221 if (Relocations > 0) { in should_keep()
222 assert(Section->Number != -1 && "Sections with relocations must be real!"); in should_keep()
765 // Turn relocations for temporary symbols into section relocations. in RecordRelocation()
773 ++Reloc.Symb->Relocations; in RecordRelocation()
807 // generate the relocations however the rest of the MSVC toolchain is in RecordRelocation()
818 // offset by 4 on ARM, however, because there is no RELA relocations, all in RecordRelocation()
826 coff_section->Relocations.push_back(Reloc); in RecordRelocation()
917 if (Sec->Relocations.size() > 0) { in WriteObject()
918 bool RelocationsOverflow = Sec->Relocations.size() >= 0xffff; in WriteObject()
925 Sec->Header.NumberOfRelocations = Sec->Relocations.size(); in WriteObject()
934 offset += COFF::RelocationSize * Sec->Relocations.size(); in WriteObject()
936 for (auto & Relocation : Sec->Relocations) { in WriteObject()
968 if (Section->Relocations.size() >= 0xffff) in WriteObject()
988 if ((*i)->Relocations.size() > 0) { in WriteObject()
992 if ((*i)->Relocations.size() >= 0xffff) { in WriteObject()
996 r.VirtualAddress = (*i)->Relocations.size() + 1; in WriteObject()
1002 for (const auto & Relocation : (*i)->Relocations) in WriteObject()