mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
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
This commit is contained in:
parent
c3e78ec817
commit
5c45cecb25
@ -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.
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user