bug???

Gian Lorenzo Meocci glmeocci@gmail.com
Wed Apr 9 15:17:00 GMT 2008


On Intel machine when you use a profiled libc with pthread_cond_wait.S
there is a problem.
In fact pthread_cond_wait.S call pthread_mutex_unlock_usercnt passing
the two parameter (mutex and decr) in registers (eax and edx) but, for
profiled
version, the pthread_mutex_unlock_usercnt searchs parameter on stack.

In non profiled version there is no problem because
pthread_mutex_unlock_usercnt looks parameter in registers too.
I have patched pthread_cond_wait.S pushing parameters also in stack .

thanks a lot,

-- 
Gian Lorenzo Meocci
http://www.meocci.it



More information about the Libc-alpha mailing list