mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-31 23:11:09 +00:00
* sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition.
* sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition. * sysdeps/i386/i586/memset.S (__memset_chk): New definition.
This commit is contained in:
parent
ab905672b7
commit
9bdfff6000
@ -1,3 +1,9 @@
|
|||||||
|
2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition.
|
||||||
|
* sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition.
|
||||||
|
* sysdeps/i386/i586/memset.S (__memset_chk): New definition.
|
||||||
|
|
||||||
2007-09-15 Mike Frysinger <vapier@gentoo.org>
|
2007-09-15 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* inet/inet_net.c: Reset digit to 0 for inputs starting with "0x".
|
* inet/inet_net.c: Reset digit to 0 for inputs starting with "0x".
|
||||||
|
@ -35,6 +35,13 @@
|
|||||||
#define LEN SRC+PTR_SIZE
|
#define LEN SRC+PTR_SIZE
|
||||||
|
|
||||||
.text
|
.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))
|
ENTRY (BP_SYM (memcpy))
|
||||||
ENTER
|
ENTER
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#define memcpy __mempcpy
|
#define memcpy __mempcpy
|
||||||
|
#define __memcpy_chk __mempcpy_chk
|
||||||
#include <sysdeps/i386/i586/memcpy.S>
|
#include <sysdeps/i386/i586/memcpy.S>
|
||||||
|
|
||||||
libc_hidden_def (BP_SYM (__mempcpy))
|
libc_hidden_def (BP_SYM (__mempcpy))
|
||||||
|
@ -38,6 +38,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
#if defined PIC && !defined NOT_IN_libc && !BZERO_P
|
||||||
|
ENTRY (__memset_chk)
|
||||||
|
movl 12(%esp), %eax
|
||||||
|
cmpl %eax, 16(%esp)
|
||||||
|
jb HIDDEN_JUMPTARGET (__chk_fail)
|
||||||
|
END (__memset_chk)
|
||||||
|
#endif
|
||||||
ENTRY (BP_SYM (memset))
|
ENTRY (BP_SYM (memset))
|
||||||
ENTER
|
ENTER
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user