mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 00:33:15 +00:00
Use named sections, where they should be
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6481873dc0
commit
d79cda9232
@ -40,15 +40,13 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const TargetMachine &TM) {
|
|||||||
|
|
||||||
ReadOnlySection_ = getUnnamedSection("\t.const\n", SectionFlags::None);
|
ReadOnlySection_ = getUnnamedSection("\t.const\n", SectionFlags::None);
|
||||||
|
|
||||||
// FIXME: These should be named sections, really.
|
|
||||||
TextCoalSection =
|
TextCoalSection =
|
||||||
getUnnamedSection(".section __TEXT,__textcoal_nt,coalesced,pure_instructions",
|
getNamedSection("\t__TEXT,__textcoal_nt,coalesced,pure_instructions",
|
||||||
SectionFlags::Code);
|
SectionFlags::Code);
|
||||||
ConstDataCoalSection =
|
ConstDataCoalSection = getBamedSection("\t__DATA,__const_coal,coalesced",
|
||||||
getUnnamedSection(".section __DATA,__const_coal,coalesced",
|
|
||||||
SectionFlags::None);
|
SectionFlags::None);
|
||||||
ConstDataSection = getUnnamedSection(".const_data", SectionFlags::None);
|
ConstDataSection = getUnnamedSection(".const_data", SectionFlags::None);
|
||||||
DataCoalSection = getUnnamedSection(".section __DATA,__datacoal_nt,coalesced",
|
DataCoalSection = getNamedSection("\t__DATA,__datacoal_nt,coalesced",
|
||||||
SectionFlags::Writeable);
|
SectionFlags::Writeable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user