diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-02-23 22:53:43 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-02-23 22:53:43 +0000 |
commit | 1afa31fdc5ce2e47324778c31646ebb689fcede2 (patch) | |
tree | 6723d7e6b769ca72cfb49f9aec1cd0fced3fedc6 /compiler/cgbase.pas | |
parent | c201ba6bc2eccb124235789286b2d96b266b2f5c (diff) | |
download | fpc-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.pas | 2 |
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} |