Bug in i386 pthread_once implementation
Daniel Jacobowitz <[email protected]> Fri, 3 Oct 2003 15:34:09 -0400
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
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