Browse Source

* removed "+0" offset generation in assembler writer

git-svn-id: trunk@1714 -
tom_at_work 20 years ago
parent
commit
8ca0fe382e
1 changed files with 1 additions and 6 deletions
  1. 1 6
      compiler/powerpc/agppcgas.pas

+ 1 - 6
compiler/powerpc/agppcgas.pas

@@ -155,12 +155,7 @@ unit agppcgas;
              begin
                 if offset=0 then
                   begin
-                    if assigned(symbol) then
-                      begin
-                        if target_info.system <> system_powerpc_darwin then
-                          s:=s+'+0'
-                      end
-                    else
+                    if not (assigned(symbol)) then
                       s:=s+'0';
                   end;
                 s:=s+'('+gas_regname(base)+')';