aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2006-01-25 21:28:47 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2006-01-25 21:28:47 +0100
commit5c45cecb25efa7898108694021f221c46429347c (patch)
treee89442e6d0023a296df4a940419bcb690ae4886a
parentc3e78ec8171acb648a890011f04b914ff50a4454 (diff)
downloadgcc-5c45cecb25efa7898108694021f221c46429347c.zip
gcc-5c45cecb25efa7898108694021f221c46429347c.tar.gz
gcc-5c45cecb25efa7898108694021f221c46429347c.tar.bz2
darwin_stop_world.c: Change inline asm instruction to ld as ldz is wrong.
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
-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 b93c7cf..b180102 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 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 {