Browse Source

Added ARMv6M to cpu types where the default instruction set is Thumb

git-svn-id: trunk@25402 -
Jeppe Johansen 12 years ago
parent
commit
9acfd929f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/globals.pas

+ 1 - 1
compiler/globals.pas

@@ -1154,7 +1154,7 @@ implementation
         { set default instruction set for arm }
         { set default instruction set for arm }
         if result then
         if result then
           begin
           begin
-            if a.cputype in [cpu_armv6t2,cpu_armv7m] then
+            if a.cputype in [cpu_armv6m,cpu_armv6t2,cpu_armv7m] then
               a.instructionset:=is_thumb
               a.instructionset:=is_thumb
             else
             else
               a.instructionset:=is_arm;
               a.instructionset:=is_arm;