summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boehm-gc/ChangeLog3
-rw-r--r--boehm-gc/darwin_stop_world.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index b93c7cfcb81..b1801026d58 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -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.
diff --git a/boehm-gc/darwin_stop_world.c b/boehm-gc/darwin_stop_world.c
index 22c76a85733..3c0c3710afb 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 {