aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c2
-rw-r--r--linuxthreads/sysdeps/sparc/sparc64/pspinlock.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index c08461ce79..b0647f2477 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+2000-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/sparc/sparc32/sparcv9/pspinlock.c (__pthread_spin_lock):
+ Add missing register.
+ * sysdeps/sparc/sparc64/pspinlock.c (__pthread_spin_lock): Likewise.
+
2000-06-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
diff --git a/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c b/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c
index 06050d3fec..99ffdc0338 100644
--- a/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c
+++ b/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c
@@ -31,7 +31,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
" membar #StoreLoad | #StoreStore\n"
".subsection 2\n"
"2: ldub [%0], %%g2\n"
- " brnz,pt 2b\n"
+ " brnz,pt %%g2, 2b\n"
" membar #LoadLoad\n"
" b,a,pt %%xcc, 1b\n"
".previous"
diff --git a/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c b/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c
index e793b5c65c..1b7fa15783 100644
--- a/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c
+++ b/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c
@@ -31,7 +31,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
" membar #StoreLoad | #StoreStore\n"
".subsection 2\n"
"2: ldub [%0], %%g5\n"
- " brnz,pt 2b\n"
+ " brnz,pt %%g5, 2b\n"
" membar #LoadLoad\n"
" b,a,pt %%xcc, 1b\n"
".previous"