diff options
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
| -rw-r--r-- | lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index a80cfc4b256f..f1e10eec724c 100644 --- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -519,11 +519,7 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,    ConstTextCoalSection      = getContext().getMachOSection("__TEXT", "__const_coal",                                      MCSectionMachO::S_COALESCED, -                                   SectionKind::getText()); -  ConstDataCoalSection -    = getContext().getMachOSection("__DATA","__const_coal", -                                   MCSectionMachO::S_COALESCED, -                                   SectionKind::getText()); +                                   SectionKind::getReadOnly());    ConstDataSection  // .const_data      = getContext().getMachOSection("__DATA", "__const", 0,                                     SectionKind::getReadOnlyWithRel());  | 
