-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#2799: Make sure dstack_offs is 8-byte aligned on ARM. (#2803)
2e9f20e made get_clean_call_switch_stack_size() 8-byte aligned for ARM, which is required by the "Procedure Call Standard for the ARM Architecture [AAPCS]" [1]. priv_mcontext_t on ARM only contains 31 8-byte slots, which is why an extra adjustment is needed in insert_push_all_registers. Fixes #2799 [1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka4127.html
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters