diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-01 21:48:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-01 21:48:25 +0000 |
commit | 56fe93c5d3734693897da59363d1aaaac1fd7d33 (patch) | |
tree | 4c6628fe06f9c0cca702879b3b16ef17b0334a97 /lib/Target/TargetLoweringObjectFile.cpp | |
parent | f9650c061ee89ac55740555530ca5c2842c28738 (diff) |
coff doesn't set a .bss seciton, so this is dead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r-- | lib/Target/TargetLoweringObjectFile.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index 7e071f4d5a..089143a024 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp @@ -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; |