From b12784aa4eee18a99fb0933b3910af47345efc0f Mon Sep 17 00:00:00 2001 From: alexrp Date: Sun, 8 Jul 2012 03:25:49 +0200 Subject: [PATCH] Define ARM even in Thumb mode. --- driver/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/driver/main.cpp b/driver/main.cpp index ae893bc9..a6782b66 100644 --- a/driver/main.cpp +++ b/driver/main.cpp @@ -568,6 +568,7 @@ LDC_TARGETS global.params.cpu = ARCHarm; } else if (strcmp(global.params.llvmArch,"thumb")==0) { + VersionCondition::addPredefinedGlobalIdent("ARM"); VersionCondition::addPredefinedGlobalIdent("Thumb"); global.params.isLE = true; global.params.is64bit = false;