|
From: Yao Qi <qiy...@cn...> - 2005-11-11 02:05:44
|
On Fri, Nov 11, 2005 at 01:00:37AM +0000, sv...@va... wrote:
> Author: cerion
> Date: 2005-11-11 01:00:36 +0000 (Fri, 11 Nov 2005)
> New Revision: 5077
>
>
> + /* For Linux/ppc32 we need the SysV ABI, which uses
> + LR->4(parent_sp), CR->anywhere.
> + (The AIX ABI, used on Darwin, and maybe Linux/ppc64?,
> + uses LR->8(prt_sp), CR->4(prt_sp))
> + */
I think Linux/ppc64 conform to ABI_AIX.
Index: coregrind/m_dispatch/dispatch-ppc32-linux.S
===================================================================
--- coregrind/m_dispatch/dispatch-ppc32-linux.S (revision 5077)
+++ coregrind/m_dispatch/dispatch-ppc32-linux.S (working copy)
@@ -46,9 +46,8 @@
/* For Linux/ppc32 we need the SysV ABI, which uses
LR->4(parent_sp), CR->anywhere.
- (The AIX ABI, used on Darwin, and maybe Linux/ppc64?,
- uses LR->8(prt_sp), CR->4(prt_sp))
- */
+ (The AIX ABI, used on Darwin and Linux/ppc64,
+ uses LR->8(prt_sp), CR->4(prt_sp)) */
/* Save lr */
mflr 0
--
Regards, Yao
------------
Yao Qi
|