Browse Source

Fix compilation of 32-bit powerpc compiler

Pierre Muller 3 years ago
parent
commit
762057f46d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/powerpc/rappcgas.pas

+ 1 - 1
compiler/powerpc/rappcgas.pas

@@ -186,7 +186,7 @@ Unit rappcgas;
                        for AIX }
                      if target_info.system in systems_aix then
                        begin
-                         opr.ref.symbol.increfs;
+                         oper.opr.ref.symbol.increfs;
                          tcgppcgen(cg).get_aix_toc_sym(nil,oper.opr.ref.symbol.name,asmsym2indsymflags(oper.opr.ref.symbol),oper.opr.ref,true);
                        end;
                      oper.opr.ref.refaddr:=addr_pic_no_got;