Pārlūkot izejas kodu

* choose between arm (little endian) and armeb for fpcres based on the
target_info rather than based on the source_info

git-svn-id: trunk@30217 -

Jonas Maebe 10 gadi atpakaļ
vecāks
revīzija
6b9b575b74
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      compiler/comprsrc.pas

+ 2 - 2
compiler/comprsrc.pas

@@ -283,10 +283,10 @@ begin
       Replace(s,'$OBJ',maybequoted(OutName));
       subarch:='all';
       arch:=cpu2str[target_cpu];
-      if (source_info.cpu=systems.cpu_arm) then
+      if (target_info.cpu=systems.cpu_arm) then
         begin
           //Differentiate between arm and armeb
-          if (source_info.endian=endian_big) then
+          if (target_info.endian=endian_big) then
             arch:=arch+'eb';
         end;
       Replace(s,'$ARCH',arch);