aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-01 21:49:24 +0000
committerChris Lattner <sabre@nondot.org>2009-08-01 21:49:24 +0000
commit94dab1e57a435198bf30c9992805a7d101d5c6c6 (patch)
tree3a73981e44f97cd692922cb8854e78333f7c5a63 /lib/Target/TargetLoweringObjectFile.cpp
parent56fe93c5d3734693897da59363d1aaaac1fd7d33 (diff)
coff also doesn't have a ReadOnlySection yet, (!)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp
index 089143a024..a26bec2bdf 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.isReadOnly() && ReadOnlySection != 0)
- return ReadOnlySection;
-
return getDataSection();
}