Related: rhbz#1125588 get to the end of cpp_mediate on ppc64le
Change-Id: Id3928ef5ac68ea13a7aa8723bc8b068ecf8075a0
This commit is contained in:
@@ -326,7 +326,11 @@ static typelib_TypeClass cpp2uno_call(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if _CALL_ELF == 2
|
||||||
|
# define PARAMSAVE 32
|
||||||
|
#else
|
||||||
|
# define PARAMSAVE 48
|
||||||
|
#endif
|
||||||
|
|
||||||
static typelib_TypeClass cpp_mediate(
|
static typelib_TypeClass cpp_mediate(
|
||||||
sal_uInt64 nOffsetAndIndex,
|
sal_uInt64 nOffsetAndIndex,
|
||||||
@@ -339,7 +343,7 @@ static typelib_TypeClass cpp_mediate(
|
|||||||
sal_Int32 nFunctionIndex = (nOffsetAndIndex & 0xFFFFFFFF);
|
sal_Int32 nFunctionIndex = (nOffsetAndIndex & 0xFFFFFFFF);
|
||||||
|
|
||||||
long sf = *(long*)sp;
|
long sf = *(long*)sp;
|
||||||
void ** ovrflw = (void**)(sf + 112);
|
void ** ovrflw = (void**)(sf + PARAMSAVE + 64);
|
||||||
|
|
||||||
// gpreg: [ret *], this, [other gpr params]
|
// gpreg: [ret *], this, [other gpr params]
|
||||||
// fpreg: [fpr params]
|
// fpreg: [fpr params]
|
||||||
|
Reference in New Issue
Block a user