Lines Matching refs:Sec
368 MCSectionCOFF const &Sec =
371 COFFSection *coff_section = createSection(Sec.getSectionName());
372 COFFSymbol *coff_symbol = createSymbol(Sec.getSectionName());
382 coff_symbol->Aux[0].Aux.SectionDefinition.Selection = Sec.getSelection();
384 coff_section->Header.Characteristics = Sec.getCharacteristics();
793 COFFSection *Sec = SectionMap[&i->getSection()];
795 if (Sec->Number == -1)
798 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(i);
800 if (IsPhysicalSection(Sec)) {
801 Sec->Header.PointerToRawData = offset;
803 offset += Sec->Header.SizeOfRawData;
806 if (Sec->Relocations.size() > 0) {
807 Sec->Header.NumberOfRelocations = Sec->Relocations.size();
808 Sec->Header.PointerToRelocations = offset;
810 offset += COFF::RelocationSize * Sec->Relocations.size();
812 for (relocations::iterator cr = Sec->Relocations.begin(),
813 er = Sec->Relocations.end();
820 assert(Sec->Symbol->Aux.size() == 1
822 AuxSymbol &Aux = Sec->Symbol->Aux[0];
825 Aux.Aux.SectionDefinition.Length = Sec->Header.SizeOfRawData;
827 Sec->Header.NumberOfRelocations;
829 Sec->Header.NumberOfLineNumbers;