فهرست منبع

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;