|
From: <sv...@va...> - 2017-01-11 21:17:49
|
Author: iraisr
Date: Wed Jan 11 21:17:42 2017
New Revision: 16197
Log:
Fix comments in m_trampoline.S for amd64/Solaris redirs.
Modified:
trunk/coregrind/m_trampoline.S
Modified: trunk/coregrind/m_trampoline.S
==============================================================================
--- trunk/coregrind/m_trampoline.S (original)
+++ trunk/coregrind/m_trampoline.S Wed Jan 11 21:17:42 2017
@@ -1527,7 +1527,7 @@
movq %rdi, %rdx /* copy s1 */
1:
movzbl (%rsi), %eax /* load one input character */
- movb %al, (%rdx) /* copy to output/s2 */
+ movb %al, (%rdx) /* copy to output/s1 */
incq %rsi /* skip to the next output character */
incq %rdx /* skip to the next input character */
testb %al, %al /* is the copied character null? */
@@ -1548,7 +1548,7 @@
testq %rdx, %rdx /* is the remaining size zero? */
jz 3f /* yes, all done */
movzbl (%rsi), %eax /* load one input character */
- movb %al, (%rcx) /* copy to output/s2 */
+ movb %al, (%rcx) /* copy to output/s1 */
decq %rdx /* decrement the remaining size */
incq %rsi /* skip to the next output character */
incq %rcx /* skip to the next input character */
|