summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i586/memcpy.S
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-05-04 07:51:31 +0000
committerJakub Jelinek <jakub@redhat.com>2005-05-04 07:51:31 +0000
commite759ccae887cac69cd47b878c67eba5dd1934f56 (patch)
tree45ff8bf4509dc865d83e1fef0eab34ba92cb2cab /sysdeps/i386/i586/memcpy.S
parentc5636422a9fbe30e181cb1ecd1a86d53e3797d8f (diff)
Updated to fedora-glibc-20050504T0728
Diffstat (limited to 'sysdeps/i386/i586/memcpy.S')
-rw-r--r--sysdeps/i386/i586/memcpy.S10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/i386/i586/memcpy.S b/sysdeps/i386/i586/memcpy.S
index d8181ffa1b..1fa267ef50 100644
--- a/sysdeps/i386/i586/memcpy.S
+++ b/sysdeps/i386/i586/memcpy.S
@@ -1,5 +1,5 @@
/* Highly optimized version for i586.
- Copyright (C) 1997, 2000, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2000, 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -39,10 +39,14 @@ ENTRY (BP_SYM (memcpy))
ENTER
pushl %edi
+ cfi_adjust_cfa_offset (4)
pushl %esi
+ cfi_adjust_cfa_offset (4)
movl DEST(%esp), %edi
+ cfi_rel_offset (edi, 4)
movl SRC(%esp), %esi
+ cfi_rel_offset (esi, 4)
movl LEN(%esp), %ecx
CHECK_BOUNDS_BOTH_WIDE (%edi, DEST(%esp), %ecx)
CHECK_BOUNDS_BOTH_WIDE (%esi, SRC(%esp), %ecx)
@@ -111,7 +115,11 @@ L(1): rep; movsb
#endif
popl %esi
+ cfi_adjust_cfa_offset (-4)
+ cfi_restore (esi)
popl %edi
+ cfi_adjust_cfa_offset (-4)
+ cfi_restore (edi)
LEAVE
RET_PTR