Commit df3d9c37 by Kazu Hirata Committed by Kazu Hirata

gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'.

	* include/private/gc_locks.h (GC_test_and_set): Change the
	constraint of the first operand to '0'.

From-SVN: r104329
parent f5ea2dca
2005-09-15 Kazu Hirata <kazu@codesourcery.com>
* include/private/gc_locks.h (GC_test_and_set): Change the
constraint of the first operand to '0'.
2005-09-06 Tom Tromey <tromey@redhat.com> 2005-09-06 Tom Tromey <tromey@redhat.com>
PR libgcj/23662: PR libgcj/23662:
......
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
/* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */ /* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */
__asm__ __volatile__("swp %0, %1, [%2]" __asm__ __volatile__("swp %0, %1, [%2]"
: "=r"(oldval) : "=r"(oldval)
: "r"(1), "r"(addr) : "0"(1), "r"(addr)
: "memory"); : "memory");
return oldval; return oldval;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment