Remove HasCrazyBSS and add a flag in TAI to indicate that '.section'
[oota-llvm.git] / lib / Target / PowerPC / PPCTargetAsmInfo.cpp
index 36cf2a5570ddb2f96785c850be38db0814a90a9b..864475b30a8df8e893ba72cf340dc959c3fca4d3 100644 (file)
@@ -30,6 +30,9 @@ PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(bool is64Bit) {
   PrivateGlobalPrefix = ".L";
   UsedDirective = "\t# .no_dead_strip\t";
   WeakRefDirective = "\t.weak\t";
+  
+  // Uses '.section' before '.bss' directive
+  UsesELFSectionDirectiveForBSS = true;  
 
   // Debug Information
   AbsoluteDebugSectionOffsets = true;