mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 11:15:33 +00:00
Use named sections, where they should be
llvm-svn: 56581
This commit is contained in:
parent
9b9c3a38ad
commit
abf1e5277b
@ -40,16 +40,14 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const TargetMachine &TM) {
|
||||
|
||||
ReadOnlySection_ = getUnnamedSection("\t.const\n", SectionFlags::None);
|
||||
|
||||
// FIXME: These should be named sections, really.
|
||||
TextCoalSection =
|
||||
getUnnamedSection(".section __TEXT,__textcoal_nt,coalesced,pure_instructions",
|
||||
getNamedSection("\t__TEXT,__textcoal_nt,coalesced,pure_instructions",
|
||||
SectionFlags::Code);
|
||||
ConstDataCoalSection =
|
||||
getUnnamedSection(".section __DATA,__const_coal,coalesced",
|
||||
SectionFlags::None);
|
||||
ConstDataCoalSection = getBamedSection("\t__DATA,__const_coal,coalesced",
|
||||
SectionFlags::None);
|
||||
ConstDataSection = getUnnamedSection(".const_data", SectionFlags::None);
|
||||
DataCoalSection = getUnnamedSection(".section __DATA,__datacoal_nt,coalesced",
|
||||
SectionFlags::Writeable);
|
||||
DataCoalSection = getNamedSection("\t__DATA,__datacoal_nt,coalesced",
|
||||
SectionFlags::Writeable);
|
||||
}
|
||||
|
||||
/// emitUsedDirectiveFor - On Darwin, internally linked data beginning with
|
||||
|
Loading…
x
Reference in New Issue
Block a user