Support for non-landing pad exception handling.
[oota-llvm.git] / lib / Target / PowerPC / PPCTargetAsmInfo.cpp
index 2442a38366fa1e76f650bf8e5f52167ddd9e716e..38e0d212bf64e2e2ed07c8284c95b5345b74b234 100644 (file)
@@ -41,11 +41,14 @@ PPCTargetAsmInfo::PPCTargetAsmInfo(const PPCTargetMachine &TM) {
   DwarfARangesSection = ".section __DWARF,__debug_aranges,regular,debug";
   DwarfRangesSection = ".section __DWARF,__debug_ranges,regular,debug";
   DwarfMacInfoSection = ".section __DWARF,__debug_macinfo,regular,debug";
+  DwarfEHFrameSection =
+  ".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
 }
 
 DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
 : PPCTargetAsmInfo(TM)
 {
+  PCSymbol = ".";
   CommentString = ";";
   GlobalPrefix = "_";
   PrivateGlobalPrefix = "L";