This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi!
Sorry, I should have bootstrapped it on all three sparc archs, not just
sparc32...
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.
--- libc/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c.jj Fri Jun 2 16:04:04 2000
+++ libc/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c Sun Jun 4 16:17:02 2000
@@ -31,7 +31,7 @@ __pthread_spin_lock (pthread_spinlock_t
" 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"
--- libc/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c.jj Fri Jun 2 16:04:04 2000
+++ libc/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c Sun Jun 4 16:17:51 2000
@@ -31,7 +31,7 @@ __pthread_spin_lock (pthread_spinlock_t
" 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"
Jakub
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |