(__pthread_once): Check __sigsetjmp return value.
authorUlrich Drepper <drepper@redhat.com>
Fri, 3 Oct 2003 19:49:23 +0000 (19:49 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 3 Oct 2003 19:49:23 +0000 (19:49 +0000)
nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S

index 107a9a9..312933c 100644 (file)
@@ -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