diff options
author | mskvortsov <mikhael.skvortsov@gmail.com> | 2016-12-20 12:48:38 +0300 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-12-20 10:48:38 +0100 |
commit | e99e79f336b4c796a37b939a84f57bf9bd358789 (patch) | |
tree | ed46451d4d64535db13c245a47782fe65308ceaf /src | |
parent | 6d5074546d40d1fc7e2f60033cd127e3e31462d5 (diff) | |
download | coreclr-e99e79f336b4c796a37b939a84f57bf9bd358789.tar.gz coreclr-e99e79f336b4c796a37b939a84f57bf9bd358789.tar.bz2 coreclr-e99e79f336b4c796a37b939a84f57bf9bd358789.zip |
ARM: do not use unpredictable sub.w sp, rN, #imm (#8636)
Diffstat (limited to 'src')
-rw-r--r-- | src/pal/inc/unixasmmacrosarm.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pal/inc/unixasmmacrosarm.inc b/src/pal/inc/unixasmmacrosarm.inc index 14b0b4160e..76ea5eb93c 100644 --- a/src/pal/inc/unixasmmacrosarm.inc +++ b/src/pal/inc/unixasmmacrosarm.inc @@ -229,7 +229,8 @@ C_FUNC(\Name\()_End): .endm .macro EPILOG_STACK_RESTORE_OFFSET Register, Offset - sub sp, \Register, \Offset + sub \Register, \Offset + mov sp, \Register .endm .macro EPILOG_BRANCH Target |