about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-10 23:11:15 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-10 23:11:15 +0000
commit2a8a8a846166717fc5f30b7b8719cab0abb5889a (patch)
tree589bc43b226c2308b89aefecd53f0cfd7ab0d469 /nptl/sysdeps
parenta54e8d33d17f6197ac629ac86e3381643b802bec (diff)
downloadglibc-2a8a8a846166717fc5f30b7b8719cab0abb5889a.tar.gz
glibc-2a8a8a846166717fc5f30b7b8719cab0abb5889a.tar.xz
glibc-2a8a8a846166717fc5f30b7b8719cab0abb5889a.zip
Update.
2003-02-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/pthread_once.S (clear_once_control): Fix
	clearing of control variable.
	* Makefile (tests): Add tst-once3.
	* tst-once3.c: New file.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
index fce1529e54..62a1ec2da7 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
@@ -147,7 +147,7 @@ clear_once_control:
 	pushl	%esi
 	pushl	%ebx
 
-	movl	4(%esp), %eax
+	movl	12(%esp), %eax
 	movl	$0, (%eax)
 
 	xorl	%esi, %esi