Explorar el Código

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

git-svn-id: trunk@25402 -
Jeppe Johansen hace 12 años
padre
commit
9acfd929f5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/globals.pas

+ 1 - 1
compiler/globals.pas

@@ -1154,7 +1154,7 @@ implementation
         { set default instruction set for arm }
         if result then
           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
             else
               a.instructionset:=is_arm;