This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed]: Sparc locks.h typo
- From: "David S. Miller" <davem at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: java-patches at gcc dot gnu dot org
- Date: Tue, 28 Oct 2003 06:14:04 -0800
- Subject: [committed]: Sparc locks.h typo
While working on trying to get libjava hash synchronization
enabled on sparc*-linux* I found this obvious typo.
Committed to mainline.
2003-10-28 David S. Miller <davem@redhat.com>
* sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
--- sysdep/sparc/locks.h.~1~ Sun Apr 21 02:33:42 2002
+++ sysdep/sparc/locks.h Fri Oct 24 21:35:12 2003
@@ -54,11 +54,11 @@
unsigned int tmp;
__asm__ __volatile__(
"1: ldstub [%1], %0\n"
-" orcc %0, 0x0, %g0\n"
+" orcc %0, 0x0, %%g0\n"
" be 3f\n"
" nop\n"
"2: ldub [%1], %0\n"
-" orcc %0, 0x0, %g0\n"
+" orcc %0, 0x0, %%g0\n"
" bne 2b\n"
" nop\n"
"3:" : "=&r" (tmp)