]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin_stop_world.c: Change inline asm instruction to ld as ldz is wrong.
authorAndreas Tobler <a.tobler@schweiz.ch>
Wed, 25 Jan 2006 20:28:47 +0000 (21:28 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 25 Jan 2006 20:28:47 +0000 (21:28 +0100)
2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>

* darwin_stop_world.c: Change inline asm instruction to ld as ldz
is wrong.

From-SVN: r110224

boehm-gc/ChangeLog
boehm-gc/darwin_stop_world.c

index b93c7cfcb8130a413ccc64eada230ede94dd7a5d..b1801026d58a948b8b4c30d9d915a2e41c709184 100644 (file)
@@ -1,5 +1,8 @@
 2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
 
+       * darwin_stop_world.c: Change inline asm instruction to ld as ldz
+       is wrong.
+
        * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
        * Makefile.in: Regenerate.
 
index 22c76a857332f2ea0c3596d7a08d061221afc66a..3c0c3710afbf6f653a0bea9053a4975470b247ad 100644 (file)
@@ -38,7 +38,7 @@ unsigned long FindTopOfStack(unsigned int stack_start) {
 #   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 {