This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] boehm-gc darwin-stop-world
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>, Hans Boehm <Hans dot Boehm at hp dot com>
- Date: Wed, 25 Jan 2006 21:27:13 +0100
- Subject: [patch] boehm-gc darwin-stop-world
Hello,
I'll apply the below patch as obvious as there is no 'ldz' instruction
on PPC|64.
Andreas
2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>
* darwin_stop_world.c: Change inline asm instruction to ld as ldz
is wrong.
Index: darwin_stop_world.c
===================================================================
--- darwin_stop_world.c (revision 110223)
+++ darwin_stop_world.c (working copy)
@@ -38,7 +38,7 @@
# if CPP_WORDSZ == 32
__asm__ volatile("lwz %0,0(r1)" : "=r" (frame));
# else
- __asm__ volatile("ldz %0,0(r1)" : "=r" (frame));
+ __asm__ volatile("ld %0,0(r1)" : "=r" (frame));
# endif
# endif
} else {