Explorar o código

* patch by Anton Rieckert: cpu_armv7em should default to thumb(2) code as well, resolves #25142

git-svn-id: trunk@25646 -
florian %!s(int64=12) %!d(string=hai) anos
pai
achega
9cb5212378
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/globals.pas

+ 1 - 1
compiler/globals.pas

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