소스 검색

* removed "+0" offset generation in assembler writer

git-svn-id: trunk@1714 -
tom_at_work 20 년 전
부모
커밋
8ca0fe382e
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  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)+')';