diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2017-01-13 23:11:54 +0100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-01-13 14:11:54 -0800 |
commit | d2d4a792e306097a7c7e8afd954eeb50f2d2f23e (patch) | |
tree | 5bc4af67aa90356455fefb49e8ea9a0f9da3b1b1 /src/pal/inc | |
parent | b3136bb3281058e162bd072bdb7433663d3d456f (diff) | |
download | coreclr-d2d4a792e306097a7c7e8afd954eeb50f2d2f23e.tar.gz coreclr-d2d4a792e306097a7c7e8afd954eeb50f2d2f23e.tar.bz2 coreclr-d2d4a792e306097a7c7e8afd954eeb50f2d2f23e.zip |
Fixes to make runtime work on ARM64 Linux (#8947)
This is a result of attempt to bring up CoreCLR on ARM64 Android.
The bring up is on hold now, but I want to check in the changes
that added ARM64 asm helpers and fixed general Linux ARM64 issues.
Diffstat (limited to 'src/pal/inc')
-rw-r--r-- | src/pal/inc/unixasmmacrosarm64.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pal/inc/unixasmmacrosarm64.inc b/src/pal/inc/unixasmmacrosarm64.inc index 60142053b0..359f27f878 100644 --- a/src/pal/inc/unixasmmacrosarm64.inc +++ b/src/pal/inc/unixasmmacrosarm64.inc @@ -37,7 +37,8 @@ C_FUNC(\Name\()_End): .endm .macro PREPARE_EXTERNAL_VAR Name, HelperReg - ldr \HelperReg, [pc, #C_FUNC(\Name)@GOTPCREL] + adrp \HelperReg, \Name + add \HelperReg, \HelperReg, :lo12:\Name .endm .macro PROLOG_STACK_ALLOC Size |