|
From: <sv...@va...> - 2005-12-22 03:33:24
|
Author: sewardj
Date: 2005-12-22 03:33:16 +0000 (Thu, 22 Dec 2005)
New Revision: 5399
Log:
Save %CIA correctly (caused ppc64-linux to loop at the first syscall,
entertainingly).
Modified:
trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S
Modified: trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S 2005-12-21 20:22:52=
UTC (rev 5398)
+++ trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S 2005-12-22 03:33:16=
UTC (rev 5399)
@@ -397,7 +397,7 @@
that holds the value we want to return to the scheduler.
Hence use %r5 transiently for the guest state pointer. */
ld 5,152(1) /* original guest_state ptr */
- std 3,OFFSET_ppc32_CIA(5)
+ std 3,OFFSET_ppc64_CIA(5)
mr 3,31 /* r3 =3D new gsp value */
b .run_innerloop_exit
/*NOTREACHED*/
|