diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-21 22:21:52 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-21 22:21:52 +0000 |
commit | 2366713d874342c94f9362b0d6b2461e1c68dbc3 (patch) | |
tree | 4e46c602c175d0487a7ab45a9ed178fac38abbe5 /sysdeps/i386/i586/memcpy.S | |
parent | 9bf95cbc357fc0c6597be223f66259a91b1e9bb0 (diff) | |
download | glibc-2366713d874342c94f9362b0d6b2461e1c68dbc3.tar.gz glibc-2366713d874342c94f9362b0d6b2461e1c68dbc3.tar.xz glibc-2366713d874342c94f9362b0d6b2461e1c68dbc3.zip |
Remove remaining bounded-pointers support from i386 .S files.
Diffstat (limited to 'sysdeps/i386/i586/memcpy.S')
-rw-r--r-- | sysdeps/i386/i586/memcpy.S | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/sysdeps/i386/i586/memcpy.S b/sysdeps/i386/i586/memcpy.S index 1ad8684de3..49f165241c 100644 --- a/sysdeps/i386/i586/memcpy.S +++ b/sysdeps/i386/i586/memcpy.S @@ -19,19 +19,17 @@ #include <sysdep.h> #include "asm-syntax.h" -#include "bp-sym.h" -#include "bp-asm.h" /* BEWARE: `#ifdef memcpy' means that memcpy is redefined as `mempcpy', and the return value is the byte after the last one copied in the destination. */ #define MEMPCPY_P (defined memcpy) -#define PARMS LINKAGE+8 /* space for 2 saved regs */ +#define PARMS 4+8 /* space for 2 saved regs */ #define RTN PARMS -#define DEST RTN+RTN_SIZE -#define SRC DEST+PTR_SIZE -#define LEN SRC+PTR_SIZE +#define DEST RTN +#define SRC DEST+4 +#define LEN SRC+4 .text #if defined PIC && !defined NOT_IN_libc @@ -41,7 +39,7 @@ ENTRY (__memcpy_chk) jb HIDDEN_JUMPTARGET (__chk_fail) END (__memcpy_chk) #endif -ENTRY (BP_SYM (memcpy)) +ENTRY (memcpy) pushl %edi cfi_adjust_cfa_offset (4) @@ -124,8 +122,8 @@ L(1): rep; movsb cfi_adjust_cfa_offset (-4) cfi_restore (edi) - RET_PTR -END (BP_SYM (memcpy)) + ret +END (memcpy) #if !MEMPCPY_P libc_hidden_builtin_def (memcpy) #endif |