From 5b318f8556255638907de5251e3df225a6cfcdff Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 9 Jun 2003 22:49:50 +0000 Subject: Update. (__pthread_cond_signal): Use correct futex pointer in __lll_mutex_lock_wait call. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S --- nptl/ChangeLog | 4 ++++ nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index cd451c83c3..c0b54e0cdd 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,9 @@ 2003-06-09 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S + (__pthread_cond_signal): Use correct futex pointer in + __lll_mutex_lock_wait call. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S (__pthread_cond_signal): Some more tweaks to handle cond_lock!=0. diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S index c89851d373..411a05c9e0 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S @@ -108,9 +108,9 @@ __pthread_cond_signal: /* Initial locking failed. */ 1: #if cond_lock == 0 - movl %ebx, %ecx + movl %edi, %ecx #else - leal cond_lock(%ebx), %ecx + leal cond_lock(%edi), %ecx #endif call __lll_mutex_lock_wait jmp 2b -- cgit v1.2.3