This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]