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/memset.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/memset.S')
-rw-r--r-- | sysdeps/i386/i586/memset.S | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/sysdeps/i386/i586/memset.S b/sysdeps/i386/i586/memset.S index 728e12a285..c194b102d7 100644 --- a/sysdeps/i386/i586/memset.S +++ b/sysdeps/i386/i586/memset.S @@ -20,19 +20,17 @@ #include <sysdep.h> #include "asm-syntax.h" -#include "bp-sym.h" -#include "bp-asm.h" /* BEWARE: `#ifdef memset' means that memset is redefined as `bzero' */ #define BZERO_P (defined memset) -#define PARMS LINKAGE+4 /* space for 1 saved reg */ +#define PARMS 4+4 /* space for 1 saved reg */ #define RTN PARMS -#define DEST RTN+RTN_SIZE +#define DEST RTN #if BZERO_P -# define LEN DEST+PTR_SIZE +# define LEN DEST+4 #else -# define CHR DEST+PTR_SIZE +# define CHR DEST+4 # define LEN CHR+4 #endif @@ -44,7 +42,7 @@ ENTRY (__memset_chk) jb HIDDEN_JUMPTARGET (__chk_fail) END (__memset_chk) #endif -ENTRY (BP_SYM (memset)) +ENTRY (memset) pushl %edi cfi_adjust_cfa_offset (4) @@ -117,7 +115,7 @@ L(2): shrl $2, %ecx /* convert byte count to longword count */ #if BZERO_P ret #else - RET_PTR + ret #endif -END (BP_SYM (memset)) +END (memset) libc_hidden_builtin_def (memset) |