coff doesn't set a .bss seciton, so this is dead.
authorChris Lattner <sabre@nondot.org>
Sat, 1 Aug 2009 21:48:25 +0000 (21:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 1 Aug 2009 21:48:25 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77813 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetLoweringObjectFile.cpp

index 7e071f4d5a70cfa224cf4dc6ca81fd9e887da435..089143a024c5dc609f76d775e78f552658f2e098 100644 (file)
@@ -675,9 +675,6 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
   if (Kind.isText())
     return getTextSection();
   
-  if (Kind.isBSS() && BSSSection_ != 0)
-    return BSSSection_;
-  
   if (Kind.isReadOnly() && ReadOnlySection != 0)
     return ReadOnlySection;