Pārlūkot izejas kodu

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

git-svn-id: trunk@25646 -
florian 12 gadi atpakaļ
vecāks
revīzija
9cb5212378
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;