Pārlūkot izejas kodu

+ introduce new define CPUTHUMB2

git-svn-id: trunk@23539 -
florian 12 gadi atpakaļ
vecāks
revīzija
bf57cdf409
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      compiler/options.pas

+ 3 - 0
compiler/options.pas

@@ -3249,6 +3249,9 @@ if (target_info.abi = abi_eabihf) then
       init_settings.optimizecputype:=cpu_armv7a;
 {$endif CPUARMV6}
   end;
+
+  if init_settings.cputype in cpu_thumb2 then
+    def_system_macro('CPUTHUMB2');
 {$endif arm}
 
 {$ifdef jvm}