aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-09-11 23:55:40 +0000
committerBill Wendling <isanbard@gmail.com>2007-09-11 23:55:40 +0000
commit66c22e8fd629d9163b298ee0c9f932f03dbfa50c (patch)
tree74937e9185475bc83a31062e120c42885622a595 /llvm/lib
parenta3bba5ce20afba15722f806a8d17709ef13f698a (diff)
downloadllvm-66c22e8fd629d9163b298ee0c9f932f03dbfa50c.zip
llvm-66c22e8fd629d9163b298ee0c9f932f03dbfa50c.tar.gz
llvm-66c22e8fd629d9163b298ee0c9f932f03dbfa50c.tar.bz2
Enable indirect encoding for the personality function
llvm-svn: 41873
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp1
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index 1dea1c1..55ab20d 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -60,6 +60,7 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
EightByteConstantSection = "\t.literal8\n";
ReadOnlySection = "\t.const\n";
HasDotTypeDotSizeDirective = false;
+ NeedsIndirectEncoding = true;
if (TM.getRelocationModel() == Reloc::Static) {
StaticCtorsSection = ".constructor";
StaticDtorsSection = ".destructor";
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 20a0128..0c4a144 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -60,6 +60,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
WeakRefDirective = "\t.weak_reference\t";
HiddenDirective = "\t.private_extern\t";
SupportsExceptionHandling = false;
+ NeedsIndirectEncoding = true;
DwarfAbbrevSection = ".section __DWARF,__debug_abbrev,regular,debug";
DwarfInfoSection = ".section __DWARF,__debug_info,regular,debug";