From df3d9c37f93aeb69069e50e6590f034e1c1fd4bb Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 15 Sep 2005 22:35:52 +0000 Subject: [PATCH] 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 --- boehm-gc/ChangeLog | 5 +++++ boehm-gc/include/private/gc_locks.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 390aa5b6a25..cf1e5a636b7 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +2005-09-15 Kazu Hirata + + * include/private/gc_locks.h (GC_test_and_set): Change the + constraint of the first operand to '0'. + 2005-09-06 Tom Tromey PR libgcj/23662: diff --git a/boehm-gc/include/private/gc_locks.h b/boehm-gc/include/private/gc_locks.h index 46605caf72d..ec3e6cd1ef2 100644 --- a/boehm-gc/include/private/gc_locks.h +++ b/boehm-gc/include/private/gc_locks.h @@ -209,7 +209,7 @@ /* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */ __asm__ __volatile__("swp %0, %1, [%2]" : "=r"(oldval) - : "r"(1), "r"(addr) + : "0"(1), "r"(addr) : "memory"); return oldval; } -- 2.30.2