Align stack to 16 bytes when calling __setcontext
commit8e1f346462d8c1b238a7c6bb501c45b381a45e4d
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 12 Jul 2015 21:38:58 +0000 (12 14:38 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 5 Aug 2015 15:36:12 +0000 (5 08:36 -0700)
tree9bb295abee3821601b7f076aec181c3f29ad570f
parent3b8d2eb7f8435c73692f55f95e9a0ef27015b6c3
Align stack to 16 bytes when calling __setcontext

Don't use pop to restore %rdi so that stack is aligned to 16 bytes
when calling __setcontext.

[BZ #18661]
* sysdeps/unix/sysv/linux/x86_64/__start_context.S
(__start_context): Don't use pop to restore %rdi so that stack
is aligned to 16 bytes when calling __setcontext.
ChangeLog
sysdeps/unix/sysv/linux/x86_64/__start_context.S