Prechádzať zdrojové kódy

* recognise AArch64 PIC references

git-svn-id: trunk@29925 -
Jonas Maebe 10 rokov pred
rodič
commit
5041354b8e
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      compiler/aasmtai.pas

+ 3 - 0
compiler/aasmtai.pas

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