Просмотр исходного кода

------------------------------------------------------------------------
r45788 | pierre | 2020-07-15 09:01:10 +0000 (Wed, 15 Jul 2020) | 1 line

Also issue -mfpu option when calling GNU assembler for fpu_fpa family
------------------------------------------------------------------------
--- Merging r45788 into '.':
U compiler/arm/agarmgas.pas
--- Recording mergeinfo for merge of r45788 into '.':
U .

git-svn-id: branches/fixes_3_2@46922 -

pierre 4 лет назад
Родитель
Сommit
756fcb95e4
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      compiler/arm/agarmgas.pas

+ 6 - 0
compiler/arm/agarmgas.pas

@@ -105,6 +105,12 @@ unit agarmgas;
         result:=inherited MakeCmdLine;
         if (current_settings.fputype = fpu_soft) then
           result:='-mfpu=softvfp '+result;
+        if (current_settings.fputype = fpu_fpa) then
+          result:='-mfpu=fpa '+result;
+        if (current_settings.fputype = fpu_fpa10) then
+          result:='-mfpu=fpa10 '+result;
+        if (current_settings.fputype = fpu_fpa11) then
+          result:='-mfpu=fpa11 '+result;
         if (current_settings.fputype = fpu_vfpv2) then
           result:='-mfpu=vfpv2 '+result;
         if (current_settings.fputype = fpu_vfpv3) then