aboutsummaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/include/llvm/Config/AsmParsers.def2
-rw-r--r--device/include/llvm/Config/AsmPrinters.def2
-rw-r--r--device/include/llvm/Config/Disassemblers.def2
-rw-r--r--device/include/llvm/Config/Targets.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/device/include/llvm/Config/AsmParsers.def b/device/include/llvm/Config/AsmParsers.def
index cf6b221..ca3af2c 100644
--- a/device/include/llvm/Config/AsmParsers.def
+++ b/device/include/llvm/Config/AsmParsers.def
@@ -28,7 +28,7 @@
LLVM_ASM_PARSER(ARM)
#elif defined(__mips__)
LLVM_ASM_PARSER(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_ASM_PARSER(X86)
#elif defined(__aarch64__)
LLVM_ASM_PARSER(AArch64)
diff --git a/device/include/llvm/Config/AsmPrinters.def b/device/include/llvm/Config/AsmPrinters.def
index 57502f1..3a396c2 100644
--- a/device/include/llvm/Config/AsmPrinters.def
+++ b/device/include/llvm/Config/AsmPrinters.def
@@ -28,7 +28,7 @@
LLVM_ASM_PRINTER(ARM)
#elif defined(__mips__)
LLVM_ASM_PRINTER(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_ASM_PRINTER(X86)
#elif defined(__aarch64__)
LLVM_ASM_PRINTER(AArch64)
diff --git a/device/include/llvm/Config/Disassemblers.def b/device/include/llvm/Config/Disassemblers.def
index 3f135e4..aba88f8 100644
--- a/device/include/llvm/Config/Disassemblers.def
+++ b/device/include/llvm/Config/Disassemblers.def
@@ -28,7 +28,7 @@
LLVM_DISASSEMBLER(ARM)
#elif defined(__mips__)
LLVM_DISASSEMBLER(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_DISASSEMBLER(X86)
#elif defined(__aarch64__)
LLVM_DISASSEMBLER(AArch64)
diff --git a/device/include/llvm/Config/Targets.def b/device/include/llvm/Config/Targets.def
index 8a08894..f30c81f 100644
--- a/device/include/llvm/Config/Targets.def
+++ b/device/include/llvm/Config/Targets.def
@@ -27,7 +27,7 @@
LLVM_TARGET(ARM)
#elif defined(__mips__)
LLVM_TARGET(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_TARGET(X86)
#elif defined(__aarch64__)
LLVM_TARGET(AArch64)