r1264 - trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64
Author: ps-guest
Date: 2006-02-27 11:46:49 +0000 (Mon, 27 Feb 2006)
New Revision: 1264
Modified:
trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/pipe.S
Log:
pipe.S - on amd64 is 1st arg in %rdi, not on the stack as on i386
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/pipe.S
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/pipe.S 2006-02-27 11:31:07 UTC (rev 1263)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/pipe.S 2006-02-27 11:46:49 UTC (rev 1264)
@@ -22,9 +22,8 @@
ENTRY (__pipe)
DO_CALL (pipe, 1)
jb SYSCALL_ERROR_LABEL
- movq 8(%rsp), %rcx
- movl %eax, 0(%rcx)
- movl %edx, 4(%rcx)
+ movl %eax, 0(%rdi)
+ movl %edx, 4(%rdi)
xorq %rax, %rax
L(pseudo_end):
ret
Reply to: