projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56fe93c
)
coff also doesn't have a ReadOnlySection yet, (!)
author
Chris Lattner
<sabre@nondot.org>
Sat, 1 Aug 2009 21:49:24 +0000
(21:49 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 1 Aug 2009 21:49:24 +0000
(21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77814
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetLoweringObjectFile.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetLoweringObjectFile.cpp
b/lib/Target/TargetLoweringObjectFile.cpp
index 089143a024c5dc609f76d775e78f552658f2e098..a26bec2bdf7c6749724306ce7f1dfe80613fe99e 100644
(file)
--- 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();
}