forked from OSchip/llvm-project
coff also doesn't have a ReadOnlySection yet, (!)
llvm-svn: 77814
This commit is contained in:
parent
bc3d5f5db0
commit
286326ed24
|
@ -675,9 +675,6 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
|||
if (Kind.isText())
|
||||
return getTextSection();
|
||||
|
||||
if (Kind.isReadOnly() && ReadOnlySection != 0)
|
||||
return ReadOnlySection;
|
||||
|
||||
return getDataSection();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue