summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-05-02 06:21:09 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-05-02 06:21:24 -0700
commit8b8f32b2800a132b4d95053fad7c9b44309f1d6e (patch)
treeaf54b6e0201e547f58dbeb460b9aa2a48b782e38 /ChangeLog
parentd6cc1829aa31b6fb060f24dffd28aa6705cdd33a (diff)
downloadglibc-8b8f32b2800a132b4d95053fad7c9b44309f1d6e.tar
glibc-8b8f32b2800a132b4d95053fad7c9b44309f1d6e.tar.gz
glibc-8b8f32b2800a132b4d95053fad7c9b44309f1d6e.tar.bz2
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 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index da305b79d8..8459d1e0bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2018-05-02 H.J. Lu <hongjiu.lu@intel.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.
+
+2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
+
* nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
handlers after setjmp.
* setjmp/longjmp.c (__libc_longjmp): Don't define alias if