Browse Source

+ introduce new define CPUTHUMB2

git-svn-id: trunk@23539 -
florian 12 years ago
parent
commit
bf57cdf409
1 changed files with 3 additions and 0 deletions
  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}