ソースを参照

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

git-svn-id: trunk@25402 -
Jeppe Johansen 12 年 前
コミット
9acfd929f5
1 ファイル変更1 行追加1 行削除
  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;