summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-01-15 23:24:56 +0000
committerDale Johannesen <dalej@apple.com>2008-01-15 23:24:56 +0000
commit59a2250b0d35195dc3d5ad8aba17e003e19a0b16 (patch)
tree0f08866e91b7e5ab215b98dc8704ff6aff4f8abc /llvm/lib/Target/PowerPC
parent897aed910977aa6f91d70ba89da24ad486ed42ec (diff)
downloadbcm5719-llvm-59a2250b0d35195dc3d5ad8aba17e003e19a0b16.tar.gz
bcm5719-llvm-59a2250b0d35195dc3d5ad8aba17e003e19a0b16.zip
Fix and enable EH for x86-64 Darwin. Adds
ShortenEHDataFor64Bits as a not-very-accurate abstraction to cover all the changes in DwarfWriter. Some cosmetic changes to Darwin assembly code for gcc testsuite compatibility. llvm-svn: 46029
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index e593482c65a..8728def217c 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -50,6 +50,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
StaticCtorsSection = ".mod_init_func";
StaticDtorsSection = ".mod_term_func";
}
+ SwitchToSectionDirective = "\t.section ";
UsedDirective = "\t.no_dead_strip\t";
WeakDefDirective = "\t.weak_definition ";
WeakRefDirective = "\t.weak_reference ";
OpenPOWER on IntegriCloud