[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Bug in i386 pthread_once implementation



I'm looking at NPTL 0.60.  In sysdeps/unix/sysv/linux/i386/pthread_once.S:

        leal    8+UWJMPBUF(%esp), %eax
        movl    $0, 4(%esp)
        movl    %eax, (%esp)
        call    __sigsetjmp PLT
        jne     7f

The call doesn't set EFLAGS as far as I know, so shouldn't there be a
testl there?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]