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

Update logic for address check

Curtis Hamilton 2 месяцев назад
Родитель
Сommit
7dd98c4c5b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      compiler/ppcgen/agppcgas.pas

+ 2 - 2
compiler/ppcgen/agppcgas.pas

@@ -165,8 +165,8 @@ unit agppcgas;
                  s := s+refaddr2str[refaddr];
              end;
 {$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';
 {$endif cpu64bitaddr}