diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-05-02 06:21:09 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-05-02 06:21:24 -0700 |
commit | 8b8f32b2800a132b4d95053fad7c9b44309f1d6e (patch) | |
tree | af54b6e0201e547f58dbeb460b9aa2a48b782e38 /wcsmbs | |
parent | d6cc1829aa31b6fb060f24dffd28aa6705cdd33a (diff) | |
download | glibc-8b8f32b2800a132b4d95053fad7c9b44309f1d6e.tar.gz glibc-8b8f32b2800a132b4d95053fad7c9b44309f1d6e.tar.xz glibc-8b8f32b2800a132b4d95053fad7c9b44309f1d6e.zip |
x86-64/setcontext: Pop the pointer into %rdx after syscall
To prepare for shadow stack support, pop the pointer into %rdx after syscall and use %rdx, instead of %rsi, to restore context. There is no functional change. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com> * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext): Pop the pointer into %rdx after syscall and use %rdx, instead of %rsi, to restore context.
Diffstat (limited to 'wcsmbs')
0 files changed, 0 insertions, 0 deletions