Enable indirect encoding for the personality function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2007-09-11 23:55:40 +00:00
parent ec39cb98d3
commit fe4afb17d3
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
EightByteConstantSection = "\t.literal8\n"; EightByteConstantSection = "\t.literal8\n";
ReadOnlySection = "\t.const\n"; ReadOnlySection = "\t.const\n";
HasDotTypeDotSizeDirective = false; HasDotTypeDotSizeDirective = false;
NeedsIndirectEncoding = true;
if (TM.getRelocationModel() == Reloc::Static) { if (TM.getRelocationModel() == Reloc::Static) {
StaticCtorsSection = ".constructor"; StaticCtorsSection = ".constructor";
StaticDtorsSection = ".destructor"; StaticDtorsSection = ".destructor";

View File

@ -60,6 +60,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
WeakRefDirective = "\t.weak_reference\t"; WeakRefDirective = "\t.weak_reference\t";
HiddenDirective = "\t.private_extern\t"; HiddenDirective = "\t.private_extern\t";
SupportsExceptionHandling = false; SupportsExceptionHandling = false;
NeedsIndirectEncoding = true;
DwarfAbbrevSection = ".section __DWARF,__debug_abbrev,regular,debug"; DwarfAbbrevSection = ".section __DWARF,__debug_abbrev,regular,debug";
DwarfInfoSection = ".section __DWARF,__debug_info,regular,debug"; DwarfInfoSection = ".section __DWARF,__debug_info,regular,debug";