mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
-15 is incorrect to be used to align stack to 16 bytes, use ~15 instead.
This commit is contained in:
parent
a9fdd3a89e
commit
3664d35cd5
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$");
|
|||
*/
|
||||
ENTRY(_amd64_enter_uts)
|
||||
addq %rcx, %rdx /* get stack base */
|
||||
andq $-15, %rdx /* align to 16 bytes */
|
||||
andq $~0xf, %rdx /* align to 16 bytes */
|
||||
movq %rdx, %rsp /* switch to UTS stack */
|
||||
movq %rdx, %rbp /* set frame */
|
||||
pushq %rsi
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$");
|
|||
*/
|
||||
ENTRY(_amd64_enter_uts)
|
||||
addq %rcx, %rdx /* get stack base */
|
||||
andq $-15, %rdx /* align to 16 bytes */
|
||||
andq $~0xf, %rdx /* align to 16 bytes */
|
||||
movq %rdx, %rsp /* switch to UTS stack */
|
||||
movq %rdx, %rbp /* set frame */
|
||||
pushq %rsi
|
||||
|
|
|
|||
Loading…
Reference in a new issue