mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 15:39:00 +00:00
give alpha its readonly section. This optimizes alpha, and prevents a
testsuite regression with a coming patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77832 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
528c0d26a5
commit
0da3f4f742
@ -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));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user