aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/strcpy.S
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-17 21:57:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-17 21:57:26 +0000
commit2969121014b150036551c93a09da7686ffcac817 (patch)
tree84709b44f2b9dcbbd8259a213bd0a598bb49490c /sysdeps/x86_64/strcpy.S
parentf238fd190bbfc57f5678ca5c5975b92bfb21e040 (diff)
downloadglibc-2969121014b150036551c93a09da7686ffcac817.tar
glibc-2969121014b150036551c93a09da7686ffcac817.tar.gz
glibc-2969121014b150036551c93a09da7686ffcac817.tar.bz2
glibc-2969121014b150036551c93a09da7686ffcac817.zip
Remove bounded-pointers handling from x86_64 assembly sources.
Diffstat (limited to 'sysdeps/x86_64/strcpy.S')
-rw-r--r--sysdeps/x86_64/strcpy.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/x86_64/strcpy.S b/sysdeps/x86_64/strcpy.S
index 812248c0ba..612824700a 100644
--- a/sysdeps/x86_64/strcpy.S
+++ b/sysdeps/x86_64/strcpy.S
@@ -19,15 +19,13 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
#ifndef USE_AS_STPCPY
# define STRCPY strcpy
#endif
.text
-ENTRY (BP_SYM (STRCPY))
+ENTRY (STRCPY)
movq %rsi, %rcx /* Source register. */
andl $7, %ecx /* mask alignment bits */
movq %rdi, %rdx /* Duplicate destination pointer. */
@@ -152,7 +150,7 @@ ENTRY (BP_SYM (STRCPY))
movq %rdi, %rax /* Source is return value. */
#endif
retq
-END (BP_SYM (STRCPY))
+END (STRCPY)
#ifndef USE_AS_STPCPY
libc_hidden_builtin_def (strcpy)
#endif