Lines Matching full:relocations
71 int Relocations; member in __anon06e85d110111::COFFSymbol
90 typedef std::vector<COFFRelocation> relocations; typedef
100 relocations Relocations; member in __anon06e85d110111::COFFSection
202 , Relocations(0) in COFFSymbol()
221 // if it has relocations pointing at it, keep it in should_keep()
222 if (Relocations > 0) { in should_keep()
223 assert(Section->Number != -1 && "Sections with relocations must be real!"); in should_keep()
658 // away any relocations to functions. in IsSymbolRefDifferenceFullyResolvedImpl()
742 // Turn relocations for temporary symbols into section relocations. in RecordRelocation()
750 ++Reloc.Symb->Relocations; in RecordRelocation()
785 // generate the relocations however the rest of the MSVC toolchain is in RecordRelocation()
796 // offset by 4 on ARM, however, because there is no RELA relocations, all in RecordRelocation()
804 coff_section->Relocations.push_back(Reloc); in RecordRelocation()
957 if (Sec->Relocations.size() > 0) { in WriteObject()
958 bool RelocationsOverflow = Sec->Relocations.size() >= 0xffff; in WriteObject()
965 Sec->Header.NumberOfRelocations = Sec->Relocations.size(); in WriteObject()
974 offset += COFF::RelocationSize * Sec->Relocations.size(); in WriteObject()
976 for (auto &Relocation : Sec->Relocations) { in WriteObject()
1008 if (Section->Relocations.size() >= 0xffff) in WriteObject()
1034 if ((*i)->Relocations.size() > 0) { in WriteObject()
1038 if ((*i)->Relocations.size() >= 0xffff) { in WriteObject()
1042 r.VirtualAddress = (*i)->Relocations.size() + 1; in WriteObject()
1048 for (const auto &Relocation : (*i)->Relocations) in WriteObject()