Lines Matching refs:InitSections
65 std::vector<XCOFFYAML::Section> InitSections = Obj.Sections; member in __anonac495c6d0111::XCOFFWriter
82 for (uint16_t I = 0, E = InitSections.size(); I < E; ++I) { in initRelocations()
83 if (!InitSections[I].Relocations.empty()) { in initRelocations()
84 InitSections[I].NumberOfRelocations = InitSections[I].Relocations.size(); in initRelocations()
85 InitSections[I].FileOffsetToRelocations = CurrentOffset; in initRelocations()
86 CurrentOffset += InitSections[I].NumberOfRelocations * in initRelocations()
100 for (uint16_t I = 0, E = InitSections.size(); I < E; ++I) { in initSectionHeader()
108 if (InitSections[I].SectionName.size() && in initSectionHeader()
109 !SectionIndexMap[InitSections[I].SectionName]) { in initSectionHeader()
111 SectionIndexMap[InitSections[I].SectionName] = I + 1; in initSectionHeader()
121 if (InitSections[I].Flags != XCOFF::STYP_TEXT && in initSectionHeader()
122 InitSections[I].Flags != XCOFF::STYP_DATA && in initSectionHeader()
123 InitSections[I].Flags != XCOFF::STYP_BSS) in initSectionHeader()
124 InitSections[I].Address = 0; in initSectionHeader()
126 InitSections[I].Address = CurrentSecAddr; in initSectionHeader()
129 if (InitSections[I].SectionData.binary_size()) { in initSectionHeader()
130 InitSections[I].FileOffsetToData = CurrentOffset; in initSectionHeader()
131 CurrentOffset += InitSections[I].SectionData.binary_size(); in initSectionHeader()
134 InitSections[I].Size = CurrentOffset - InitSections[I].FileOffsetToData; in initSectionHeader()
135 CurrentSecAddr += InitSections[I].Size; in initSectionHeader()
175 InitSections.size() * XCOFF::SectionHeaderSize32; in assignAddressesAndIndices()
202 XCOFFYAML::Section DerivedSec = InitSections[I]; in writeSectionHeader()
230 InitSections[I].FileOffsetToData - (W.OS.tell() - StartOffset); in writeSectionData()
248 InitSections[I].FileOffsetToRelocations - (W.OS.tell() - StartOffset); in writeRelocations()