Home | History | Annotate | Download | only in MC

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();
787 COFFSection *Sec = SectionMap[&i->getSection()];
789 if (Sec->Number == -1)
792 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(i);
794 if (IsPhysicalSection(Sec)) {
795 Sec->Header.PointerToRawData = offset;
797 offset += Sec->Header.SizeOfRawData;
800 if (Sec->Relocations.size() > 0) {
801 Sec->Header.NumberOfRelocations = Sec->Relocations.size();
802 Sec->Header.PointerToRelocations = offset;
804 offset += COFF::RelocationSize * Sec->Relocations.size();
806 for (relocations::iterator cr = Sec->Relocations.begin(),
807 er = Sec->Relocations.end();
814 assert(Sec->Symbol->Aux.size() == 1
816 AuxSymbol &Aux = Sec->Symbol->Aux[0];
819 Aux.Aux.SectionDefinition.Length = Sec->Header.SizeOfRawData;
821 Sec->Header.NumberOfRelocations;
823 Sec->Header.NumberOfLineNumbers;