aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/mempcpy.S
diff options
context:
space:
mode:
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)