Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsergey ignatov <sergign60@mail.ru>2017-07-19 18:38:42 +0300
committerJan Kotas <jkotas@microsoft.com>2017-07-19 18:38:42 +0300
commit8230931915478f0e5f349a713c8a8d7c87c966fe (patch)
tree40f348267ebdb34d12a24270e29a5f176c162be6 /src/Native/Runtime/unix
parent4199d90d35b1728dc2ec77bc726799c724f8ad0d (diff)
[armel tizen] Implemented asm stub UniversalTransition (#4186)
Diffstat (limited to 'src/Native/Runtime/unix')
-rw-r--r--src/Native/Runtime/unix/unixasmmacrosarm.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Native/Runtime/unix/unixasmmacrosarm.inc b/src/Native/Runtime/unix/unixasmmacrosarm.inc
index 7de65a817..b01b3abda 100644
--- a/src/Native/Runtime/unix/unixasmmacrosarm.inc
+++ b/src/Native/Runtime/unix/unixasmmacrosarm.inc
@@ -158,11 +158,13 @@ C_FUNC(\Name):
.endm
.macro PROLOG_STACK_ALLOC Size
- sub sp, sp, \Size
+ sub sp, sp, #\Size
+ .pad #\Size
.endm
.macro EPILOG_STACK_FREE Size
- add sp, sp, \Size
+ add sp, sp, #\Size
+ .pad #-\Size
.endm
//-----------------------------------------------------------------------------
@@ -287,3 +289,8 @@ C_FUNC(\Name):
1:
.endm
+.macro EPILOG_BRANCH_REG reg
+
+ bx \reg
+
+.endm