summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-11-13 19:16:02 +0000
committerDale Johannesen <dalej@apple.com>2007-11-13 19:16:02 +0000
commit79047083694299ca00fa8110336f9943c087cea9 (patch)
tree66575b151b38c9bd6a90462cabb8923e850ef078
parent7a7085f6d3b6d973d6d68291d58102dc56b1298b (diff)
downloadbcm5719-llvm-79047083694299ca00fa8110336f9943c087cea9.tar.gz
bcm5719-llvm-79047083694299ca00fa8110336f9943c087cea9.zip
Revert previous; these files aren't ready to go in yet.
llvm-svn: 44057
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp2
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 6b43ecbba5a..992b090edd5 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -58,7 +58,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
UsedDirective = "\t.no_dead_strip\t";
WeakRefDirective = "\t.weak_reference\t";
HiddenDirective = "\t.private_extern\t";
- SupportsExceptionHandling = true;
+ SupportsExceptionHandling = false;
NeedsIndirectEncoding = true;
BSSSection = 0;
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index 060e00d804d..05cf2bfdaba 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
@@ -101,7 +101,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
DwarfMacInfoSection = ".section __DWARF,__debug_macinfo,regular,debug";
// Exceptions handling
- SupportsExceptionHandling = true;
+ if (!Subtarget->is64Bit())
+ SupportsExceptionHandling = true;
AbsoluteEHSectionOffsets = false;
DwarfEHFrameSection =
".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
OpenPOWER on IntegriCloud