Parcourir la source

* recognise AArch64 PIC references

git-svn-id: trunk@29925 -
Jonas Maebe il y a 10 ans
Parent
commit
5041354b8e
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      compiler/aasmtai.pas

+ 3 - 0
compiler/aasmtai.pas

@@ -2552,6 +2552,9 @@ implementation
 {$ifdef ARM}
               and not(r.base=NR_R15)
 {$endif ARM}
+{$ifdef aarch64}
+              and not(r.refaddr in [addr_full,addr_gotpageoffset,addr_gotpage])
+{$endif aarch64}
               then
               internalerror(200502052);
             typ:=top_ref;