give alpha its readonly section. This optimizes alpha, and prevents a

testsuite regression with a coming patch.

llvm-svn: 77832
This commit is contained in:
Chris Lattner 2009-08-01 23:44:04 +00:00
parent 36741c8a29
commit cc71620c86
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ public:
SectionKind::get(SectionKind::Text));
DataSection = getOrCreateSection("_data", true,
SectionKind::get(SectionKind::DataRel));
ReadOnlySection = getOrCreateSection("_rodata", true,
SectionKind::get(SectionKind::ReadOnly));
}
};
}