Related: rhbz#1125588 force existence of argument save area
ELFv2 ABI on ppc64 optimises stack allocation (http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01149.html so we're getting no argument save area This now appears to pass the simple cases and onwards to the tricky ones Change-Id: Ie56d148ebea7fcfc023cb7183bc97f09186e66b4
This commit is contained in:
parent
75aad687cb
commit
6396e18f4d
1 changed files with 4 additions and 0 deletions
|
@ -114,7 +114,11 @@ static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex,
|
|||
pMethod += 8 * nVtableIndex;
|
||||
pMethod = *((sal_uInt64 *)pMethod);
|
||||
|
||||
#if _CALL_ELF == 2
|
||||
typedef void (* FunctionCall )(...);
|
||||
#else
|
||||
typedef void (* FunctionCall )( sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64 );
|
||||
#endif
|
||||
FunctionCall pFunc = (FunctionCall)pMethod;
|
||||
|
||||
volatile double dret;
|
||||
|
|
Loading…
Reference in a new issue