Переглянути джерело

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

git-svn-id: trunk@25646 -
florian 12 роки тому
батько
коміт
9cb5212378
1 змінених файлів з 1 додано та 1 видалено
  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;