This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] x86-64/swapcontext: Restore the pointer into %rdx after syscall
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 29 Apr 2018 23:10:34 +0200
- Subject: Re: [PATCH 2/2] x86-64/swapcontext: Restore the pointer into %rdx after syscall
- References: <20180426121744.GB30766@intel.com>
On 04/26/2018 02:17 PM, H.J. Lu wrote:
+ /* Restore destroyed register into RDX which is preserved by
+ the syscall. */
+ movq %r12, %rdx
Again, this comment does not make sense without the other upcoming changes.
Thanks,
Florian