diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-10-18 09:58:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-10-18 09:58:59 +0000 |
commit | 56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1 (patch) | |
tree | f2d0f6e1aaf9794668b53c6456fcacbbacd63805 /sysdeps/i386/i686/memcpy.S | |
parent | 4ce1a5c9712b4d7616058e708630c33744f983f6 (diff) |
Updated to fedora-glibc-20041018T0940
Diffstat (limited to 'sysdeps/i386/i686/memcpy.S')
-rw-r--r-- | sysdeps/i386/i686/memcpy.S | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/i386/i686/memcpy.S b/sysdeps/i386/i686/memcpy.S index 865967c5c8..00e84ec2e5 100644 --- a/sysdeps/i386/i686/memcpy.S +++ b/sysdeps/i386/i686/memcpy.S @@ -1,7 +1,7 @@ /* Copy memory block and return pointer to beginning of destination block For Intel 80x86, x>=6. This file is part of the GNU C Library. - Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. The GNU C Library is free software; you can redistribute it and/or @@ -31,6 +31,13 @@ #define LEN SRC+PTR_SIZE .text +#if defined PIC && !defined NOT_IN_libc +ENTRY (__memcpy_chk) + movl 12(%esp), %eax + cmpl %eax, 16(%esp) + jb HIDDEN_JUMPTARGET (__chk_fail) +END (__memcpy_chk) +#endif ENTRY (BP_SYM (memcpy)) ENTER |