diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-02-27 19:07:05 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2017-02-27 11:07:05 +0100 |
commit | 38a7266eb596e56511b4503eb8c92e49de1f97ef (patch) | |
tree | f823515bf95cd00260608b64e9308a083809fb15 /src/pal | |
parent | 62fd770f1e7b362081ad50412ad337d79aa53c53 (diff) | |
download | coreclr-38a7266eb596e56511b4503eb8c92e49de1f97ef.tar.gz coreclr-38a7266eb596e56511b4503eb8c92e49de1f97ef.tar.bz2 coreclr-38a7266eb596e56511b4503eb8c92e49de1f97ef.zip |
[x86/Linux] 16-byte aligned Funclet Helpers (#9810)
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/inc/unixasmmacrosx86.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pal/inc/unixasmmacrosx86.inc b/src/pal/inc/unixasmmacrosx86.inc index 61ad946c7f..7730505bc3 100644 --- a/src/pal/inc/unixasmmacrosx86.inc +++ b/src/pal/inc/unixasmmacrosx86.inc @@ -69,12 +69,31 @@ C_FUNC(\Name\()_End): .macro ESP_PROLOG_BEG .endm +.macro ESP_PROLOG_PUSH Reg + PROLOG_PUSH \Reg +.endm + +.macro ESP_PROLOG_ALLOC Size + sub esp, \Size + .cfi_adjust_cfa_offset \Size +.endm + .macro ESP_PROLOG_END + .cfi_def_cfa_register esp .endm .macro ESP_EPILOG_BEG .endm +.macro ESP_EPILOG_POP Reg + EPILOG_POP \Reg +.endm + +.macro ESP_EPILOG_FREE Size + add esp, \Size + .cfi_adjust_cfa_offset -\Size +.endm + .macro ESP_EPILOG_END .endm |