Преглед на файлове

* 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;