mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
(make_method_call) [__mips__]: Add 4 to offset for float retframe.
Yipes, this may be needed for other architectures too. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@524 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
519fde5fa7
commit
4bdc02ebc9
1 changed files with 11 additions and 0 deletions
|
@ -398,8 +398,19 @@ make_method_call(const char *forward_type,
|
|||
addition to the FLT_AND_DBL_RETFRAME_OFFSET while working
|
||||
on guileobjc.
|
||||
Look into this for Distributed Objects. */
|
||||
/* xxx Yipes! Perhaps this change is needed on other
|
||||
architectures too. */
|
||||
#if __mips__
|
||||
if (*tmptype == _C_FLT)
|
||||
(*fe)(-1, ((char*)retframe) + FLT_AND_DBL_RETFRAME_OFFSET + 4,
|
||||
tmptype, flags);
|
||||
else
|
||||
(*fe)(-1, ((char*)retframe) + FLT_AND_DBL_RETFRAME_OFFSET,
|
||||
tmptype, flags);
|
||||
#else
|
||||
(*fe)(-1, ((char*)retframe) + FLT_AND_DBL_RETFRAME_OFFSET,
|
||||
tmptype, flags);
|
||||
#endif
|
||||
}
|
||||
else /* Among other types, _C_CHARPTR is handled here */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue