This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
bug???
- From: "Gian Lorenzo Meocci" <glmeocci at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 9 Apr 2008 15:13:23 +0200
- Subject: bug???
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