Lines Matching refs:Sections
44 // Just iterate over the sections we have and resolve all the relocations
46 for (int i = 0, e = Sections.size(); i != e; ++i) {
47 reassignSectionAddress(i, Sections[i].LoadAddress);
53 for (unsigned i = 0, e = Sections.size(); i != e; ++i) {
54 if (Sections[i].Address == LocalAddress) {
80 ObjSectionToIDMap LocalSections; // Used sections from the object file
185 unsigned SectionID = Sections.size();
191 Sections.push_back(SectionEntry(Addr, TotalSize, TotalSize, 0));
242 unsigned SectionID = Sections.size();
246 // Some sections, such as debug info, don't need to be loaded for execution.
256 // Virtual sections have no data in the object image, so leave pData = 0
278 // with these sections).
290 Sections.push_back(SectionEntry(Addr, Allocate, DataSize,(uintptr_t)pData));
358 Sections[SectionID].LoadAddress = Addr;
367 // Ignore relocations for sections that were not loaded
368 if (Sections[RE.SectionID].Address != 0) {
369 uint8_t *Target = Sections[RE.SectionID].Address + RE.Offset;
376 resolveRelocation(Target, Sections[RE.SectionID].LoadAddress + RE.Offset,