Browse Source

* Aarch64 asm reader: explicitely set the refaddr for local labels

git-svn-id: trunk@42989 -
svenbarth 5 years ago
parent
commit
61642ffaa4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/aarch64/racpugas.pas

+ 2 - 0
compiler/aarch64/racpugas.pas

@@ -732,6 +732,8 @@ Unit racpugas;
                  CreateLocalLabel(actasmpattern,hl,false);
                  Consume(AS_ID);
                  AddLabelOperand(hl);
+                 if oper.opr.ref.refaddr=addr_pic then
+                   oper.opr.ref.refaddr:=addr_page;
                end
               else
                { Check for label }