diff options
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
| -rw-r--r-- | lib/Target/TargetLoweringObjectFile.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index 6fdbc92036de..f887523c5b71 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp @@ -783,8 +783,8 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,    }    // Exception Handling. -  LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0, -                                SectionKind::getReadOnlyWithRel()); +  LSDASection = getMachOSection("__DATA", "__gcc_except_tab", 0, +                                SectionKind::getDataRel());    EHFrameSection =      getMachOSection("__TEXT", "__eh_frame",                      MCSectionMachO::S_COALESCED |  | 
