Răsfoiți Sursa

Update logic for address check

Curtis Hamilton 2 luni în urmă
părinte
comite
7dd98c4c5b
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      compiler/ppcgen/agppcgas.pas

+ 2 - 2
compiler/ppcgen/agppcgas.pas

@@ -165,8 +165,8 @@ unit agppcgas;
                  s := s+refaddr2str[refaddr];
                  s := s+refaddr2str[refaddr];
              end;
              end;
 {$ifdef cpu64bitaddr}
 {$ifdef cpu64bitaddr}
-           if (target_info.system=system_powerpc64_freebsd) or 
-             (target_info.system=system_powerpc64_linux) and (refaddr=addr_pic) then
+           if (refaddr=addr_pic) and (target_info.system=system_powerpc64_linux) or 
+             (target_info.system=system_powerpc64_freebsd) then
              s := s + '@got';
              s := s + '@got';
 {$endif cpu64bitaddr}
 {$endif cpu64bitaddr}