diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-04-26 05:01:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-05-02 06:26:19 -0700 |
commit | 15c19147a8361b7281519b9784b3b823c447cf7a (patch) | |
tree | b58c6146268ffd5f7b6dc5897dad0871f24518b6 /nis/nss_nis | |
parent | 556f5c46c78f094d03b5e3e48900b7e4f312cc5e (diff) | |
download | glibc-15c19147a8361b7281519b9784b3b823c447cf7a.tar.gz glibc-15c19147a8361b7281519b9784b3b823c447cf7a.tar.xz glibc-15c19147a8361b7281519b9784b3b823c447cf7a.zip |
x86-64/swapcontext: Restore the pointer into %rdx after syscall
To prepare for shadow stack support, restore 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/swapcontext.S (__swapcontext): Restore the pointer into %rdx, after syscall and use %rdx, instead of %rsi, to restore context.
Diffstat (limited to 'nis/nss_nis')
0 files changed, 0 insertions, 0 deletions