about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-02-09 18:21:04 +0000
committerAndreas Jaeger <aj@suse.de>2004-02-09 18:21:04 +0000
commitc085837878fbc6aeb8e1ba63fe88d02b27b84504 (patch)
treed8f887a71f8e152a7db245b6a70139edb9af9a26 /sysdeps/x86_64
parent1bc1a2b9076b8383ed82dbe1996b738515544246 (diff)
downloadglibc-c085837878fbc6aeb8e1ba63fe88d02b27b84504.tar.gz
glibc-c085837878fbc6aeb8e1ba63fe88d02b27b84504.tar.xz
glibc-c085837878fbc6aeb8e1ba63fe88d02b27b84504.zip
PR 7
* sysdeps/x86_64/memcpy.S: Fix alignment. 
Patch by Jan Beulich <jbeulich@novell.com>.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/memcpy.S b/sysdeps/x86_64/memcpy.S
index 136d6e5763..d9fde6e459 100644
--- a/sysdeps/x86_64/memcpy.S
+++ b/sysdeps/x86_64/memcpy.S
@@ -46,7 +46,7 @@ ENTRY (BP_SYM (memcpy))
 	/* Align destination.  */
 	movq	%rdi, %rax
 	negq	%rax
-	andq	$3, %rax
+	andq	$7, %rax
 	subq	%rax, %rcx
 	xchgq	%rax, %rcx