Преглед на файлове

* when building a reference with an identifier, initialize the operand so that page offsets of functions are handled correctly

git-svn-id: trunk@44933 -
svenbarth преди 5 години
родител
ревизия
26c45f550a
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      compiler/aarch64/racpugas.pas

+ 4 - 1
compiler/aarch64/racpugas.pas

@@ -792,7 +792,10 @@ Unit racpugas;
                             Message1(sym_e_unknown_id,expr);
                             Message1(sym_e_unknown_id,expr);
                         end
                         end
                        else
                        else
-                         MaybeAddGotAddrMode;
+                         begin
+                           oper.InitRef;
+                           MaybeAddGotAddrMode;
+                         end;
                      end;
                      end;
                   end;
                   end;
                   if actasmtoken=AS_DOT then
                   if actasmtoken=AS_DOT then