mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Define AsmTransCBE for ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37527 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a7f916cf89
commit
61718a6285
@ -18,8 +18,33 @@
|
||||
#include <cctype>
|
||||
using namespace llvm;
|
||||
|
||||
static const char* arm_asm_table[] = {"{r0}", "r0",
|
||||
"{r1}", "r1",
|
||||
"{r2}", "r2",
|
||||
"{r3}", "r3",
|
||||
"{r4}", "r4",
|
||||
"{r5}", "r5",
|
||||
"{r6}", "r6",
|
||||
"{r7}", "r7",
|
||||
"{r8}", "r8",
|
||||
"{r9}", "r9",
|
||||
"{r10}", "r10",
|
||||
"{r11}", "r11",
|
||||
"{r12}", "r12",
|
||||
"{r13}", "r13",
|
||||
"{r14}", "r14",
|
||||
"{lr}", "lr",
|
||||
"{sp}", "sp",
|
||||
"{ip}", "ip",
|
||||
"{fp}", "fp",
|
||||
"{sl}", "sl",
|
||||
"{memory}", "memory",
|
||||
"{cc}", "cc",
|
||||
0,0};
|
||||
|
||||
ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
|
||||
Subtarget = &TM.getSubtarget<ARMSubtarget>();
|
||||
AsmTransCBE = arm_asm_table;
|
||||
if (Subtarget->isTargetDarwin()) {
|
||||
GlobalPrefix = "_";
|
||||
PrivateGlobalPrefix = "L";
|
||||
|
Loading…
Reference in New Issue
Block a user