Eliminate SectionFlags, just embed a SectionKind into Section
[oota-llvm.git] / lib / Target / CellSPU / SPUTargetAsmInfo.cpp
index c4d354687ffbd862aea073374581679905896909..2dcd37bfa796c097ef1e664b008ae3a5d5e2b299 100644 (file)
@@ -35,8 +35,7 @@ SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(const SPUTargetMachine &TM) :
 
   // BSS section needs to be emitted as ".section"
   BSSSection = "\t.section\t.bss";
-  BSSSection_ = getUnnamedSection("\t.section\t.bss",
-                                  SectionFlags::Writable | SectionFlags::BSS);
+  BSSSection_ = getUnnamedSection("\t.section\t.bss", SectionKind::BSS);
 
   SupportsDebugInformation = true;
   NeedsSet = true;