This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] x86-64/swapcontext: Restore the pointer into %rdx after syscall


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]