summary refs log tree commit diff
path: root/sysdeps/i386/i686/mempcpy.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-07 22:36:12 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-07 22:36:12 +0000
commit6923133b1099c762e381191480d1d87ef00faf38 (patch)
treec39dd78660ebb6a75211c8ed867c7a47e22b4adf /sysdeps/i386/i686/mempcpy.S
parent7ffe2de674d95ec6cad51c3d7bf697301f8217c1 (diff)
downloadglibc-6923133b1099c762e381191480d1d87ef00faf38.tar.gz
glibc-6923133b1099c762e381191480d1d87ef00faf38.tar.xz
glibc-6923133b1099c762e381191480d1d87ef00faf38.zip
Update.
	* sysdeps/i386/i686/mempcpy.S: Fix typos.

	* sysdeps/i386/i686/strcmp.S: New file.
	* sysdeps/i386/i686/memcpy.S: New file.
Diffstat (limited to 'sysdeps/i386/i686/mempcpy.S')
-rw-r--r--sysdeps/i386/i686/mempcpy.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/i386/i686/mempcpy.S b/sysdeps/i386/i686/mempcpy.S
index 5760d9f940..4fb14a3d14 100644
--- a/sysdeps/i386/i686/mempcpy.S
+++ b/sysdeps/i386/i686/mempcpy.S
@@ -1,7 +1,7 @@
 /* Copy memory block and return pointer to following byte.
    For Intel 80x86, x>=6.
    This file is part of the GNU C Library.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999 Free Software Foundation, Inc.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
 #include <sysdep.h>
 #include "asm-syntax.h"
 
-/* strtok:
+/* mempcpy:
 	INPUT PARAMETER:
 	dest		(sp + 4)
 	src		(sp + 8)
@@ -30,11 +30,11 @@
 */
 
 ENTRY(__mempcpy)
+	movl	12(%esp), %ecx
 	movl	%edi, %eax
 	movl	4(%esp), %edi
 	movl	%esi, %edx
 	movl	8(%esp), %esi
-	movl	12(%esp), %ecx
 	cld
 	shrl	$1, %ecx
 	jnc	1f
@@ -47,5 +47,5 @@ ENTRY(__mempcpy)
 	xchgl	%edi, %eax
 	movl	%edx, %esi
 	ret
-END(mempcpy)
+END(__mempcpy)
 weak_alias (__mempcpy, mempcpy)