mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-18 14:31:27 +00:00
Make inline ASM the INTEL one if it's in that emission mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eb9a42c90b
commit
11502860c1
@ -138,11 +138,11 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
|
|||||||
DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"dr\"";
|
DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"dr\"";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
break;
|
|
||||||
case X86Subtarget::isWindows:
|
case X86Subtarget::isWindows:
|
||||||
GlobalPrefix = "_";
|
GlobalPrefix = "_";
|
||||||
HasDotTypeDotSizeDirective = false;
|
HasDotTypeDotSizeDirective = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -169,6 +169,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
|
|||||||
TextSectionStartSuffix = "\tsegment 'CODE'";
|
TextSectionStartSuffix = "\tsegment 'CODE'";
|
||||||
DataSectionStartSuffix = "\tsegment 'DATA'";
|
DataSectionStartSuffix = "\tsegment 'DATA'";
|
||||||
SectionEndDirectiveSuffix = "\tends\n";
|
SectionEndDirectiveSuffix = "\tends\n";
|
||||||
|
|
||||||
|
AssemblerDialect = X86_INTEL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user