about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
index 107a9a919e..312933c5e4 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
@@ -109,6 +109,7 @@ __pthread_once:
 	movl	$0, 4(%esp)
 	movl	%eax, (%esp)
 	call	__sigsetjmp@PLT
+	testl	%eax, %eax
 	jne	7f
 
 	leal	8(%esp), %eax