Still one more thing wrong here...
authorBill Wendling <isanbard@gmail.com>
Sun, 20 Sep 2009 02:27:06 +0000 (02:27 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 20 Sep 2009 02:27:06 +0000 (02:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82356 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetLoweringObjectFile.cpp

index b49164aa177705bee68c727d0ff228c006a484fc..3202c4ce4691bfdf7d98fcb69bd7aa12ef408f55 100644 (file)
@@ -782,8 +782,13 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
   }
 
   // Exception Handling.
+#if 0
   LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0,
                                 SectionKind::getReadOnly());
+#else
+  LSDASection = getMachOSection("__DATA", "__gcc_except_tab", 0,
+                                SectionKind::getDataRel());
+#endif
   EHFrameSection =
     getMachOSection("__TEXT", "__eh_frame",
                     MCSectionMachO::S_COALESCED |