From 5c45cecb25efa7898108694021f221c46429347c Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 25 Jan 2006 21:28:47 +0100 Subject: [PATCH] darwin_stop_world.c: Change inline asm instruction to ld as ldz is wrong. 2006-01-25 Andreas Tobler * darwin_stop_world.c: Change inline asm instruction to ld as ldz is wrong. From-SVN: r110224 --- boehm-gc/ChangeLog | 3 +++ boehm-gc/darwin_stop_world.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index b93c7cf..b180102 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,5 +1,8 @@ 2006-01-25 Andreas Tobler + * 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. diff --git a/boehm-gc/darwin_stop_world.c b/boehm-gc/darwin_stop_world.c index 22c76a8..3c0c371 100644 --- a/boehm-gc/darwin_stop_world.c +++ b/boehm-gc/darwin_stop_world.c @@ -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 { -- 2.7.4