]> granicus.if.org Git - gc/commitdiff
Mon Aug 22 10:41:41 BST 2005 Paolo Molaro <lupus@ximian.com>
authorPaolo Molaro <lupus@oddwiz.org>
Mon, 22 Aug 2005 09:21:51 +0000 (09:21 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:26:12 +0000 (15:26 +0400)
* include/private/gc_locks.h: make gcc generate correct code for swp
(patch by tomba@bat.org, Tomi Valkeinen).

svn path=/trunk/mono/; revision=48647

ChangeLog
include/private/gc_locks.h

index 9d5370ff9ab606d53f03eab840f40631169aff4d..d46460609bede5bfcf61174f7f9e2a3b7776053a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+
+Mon Aug 22 10:41:41 BST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * include/private/gc_locks.h: make gcc generate correct code for swp
+       (patch by tomba@bat.org, Tomi Valkeinen).
+
 2005-08-20  Zoltan Varga  <vargaz@freemail.hu>
 
        * include/private/gc_locks.h: Fix compilation of GC_test_and_set on IA64 with gcc-3.3.5.
index e0711b167c07d518c73b75d47b5c3d8adb39fce7..34e3daa45193af2fceb933c839c775819c3b80ec 100644 (file)
            * this code will likely need to be updated. */
           /* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */
           __asm__ __volatile__("swp %0, %1, [%2]"
-                            : "=r"(oldval)
+                            : "=&r"(oldval)
                             : "r"(1), "r"(addr)
                             : "memory");
           return oldval;