about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-04-11 21:04:10 +0000
committerUlrich Drepper <drepper@redhat.com>2008-04-11 21:04:10 +0000
commitcf3a8c7f42f7cb3dfd0304ab87ded3b739d9e811 (patch)
tree2d54fe6c3e473e936e36f5d0997161d93fde37a9 /sysdeps
parent7763d4f148b328df102a0e0d0318cd9f8cf44a56 (diff)
downloadglibc-cf3a8c7f42f7cb3dfd0304ab87ded3b739d9e811.tar.gz
glibc-cf3a8c7f42f7cb3dfd0304ab87ded3b739d9e811.tar.xz
glibc-cf3a8c7f42f7cb3dfd0304ab87ded3b739d9e811.zip
* elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABI
	in use.
	(TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr.
	(TLS_GD): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/i686/memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/i686/memcpy.S b/sysdeps/i386/i686/memcpy.S
index ff5c66e9d4..0b2da1ea27 100644
--- a/sysdeps/i386/i686/memcpy.S
+++ b/sysdeps/i386/i686/memcpy.S
@@ -71,10 +71,10 @@ ENTRY (BP_SYM (memcpy))
 1:	pushl	%eax
 	movl	%ecx, %eax
 	shrl	$2, %ecx
+	andl	$3, %eax
 	rep
 	movsl
 	movl	%eax, %ecx
-	andl	$3, %ecx
 	rep
 	movsb
 	popl	%eax