Browse Source

* Aarch64 asm reader: LDR instruction allows labels as well

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

+ 2 - 1
compiler/aarch64/racpugas.pas

@@ -565,7 +565,8 @@ Unit racpugas;
                oper.opr.symbol:=hl;
              end
             else if (actopcode=A_ADR) or
-               (actopcode=A_ADRP) then
+               (actopcode=A_ADRP) or
+               (actopcode=A_LDR) then
               begin
                 oper.InitRef;
                 MaybeAddGotAddrMode;