mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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:
parent
ec39cb98d3
commit
fe4afb17d3
@ -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";
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user