coff also doesn't have a ReadOnlySection yet, (!)

llvm-svn: 77814
This commit is contained in:
Chris Lattner 2009-08-01 21:49:24 +00:00
parent d0f608200c
commit ac27c8c8d3

View File

@ -675,9 +675,6 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
if (Kind.isText())
return getTextSection();
if (Kind.isReadOnly() && ReadOnlySection != 0)
return ReadOnlySection;
return getDataSection();
}