summaryrefslogtreecommitdiff
path: root/compiler/cgbase.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-02-23 22:53:43 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-02-23 22:53:43 +0000
commit1afa31fdc5ce2e47324778c31646ebb689fcede2 (patch)
tree6723d7e6b769ca72cfb49f9aec1cd0fced3fedc6 /compiler/cgbase.pas
parentc201ba6bc2eccb124235789286b2d96b266b2f5c (diff)
downloadfpc-1afa31fdc5ce2e47324778c31646ebb689fcede2.tar.gz
+ support for @page and @pageoffs addressing on AArch64: these are PIC
references that directly take the address of a symbol, rather than of its GOT entry o use these addressing modes to access local symbols git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29932 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cgbase.pas')
-rw-r--r--compiler/cgbase.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/cgbase.pas b/compiler/cgbase.pas
index 065c00e935..dff6e84ea7 100644
--- a/compiler/cgbase.pas
+++ b/compiler/cgbase.pas
@@ -102,6 +102,8 @@ interface
,addr_seg // used for getting the segment of an object, e.g. 'mov ax, SEG symbol'
{$ENDIF}
{$IFDEF AARCH64}
+ ,addr_page
+ ,addr_pageoffset
,addr_gotpage
,addr_gotpageoffset
{$ENDIF AARCH64}