* config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when
extracting a return value from a register pair. Fixes remaining failures in callfuncs.exp, but not structs.exp.
This commit is contained in:
parent
28ddd87e57
commit
527579ee7b
@ -1,5 +1,8 @@
|
|||||||
Tue Feb 11 12:28:09 1997 Jeffrey A Law (law@cygnus.com)
|
Tue Feb 11 12:28:09 1997 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when
|
||||||
|
extracting a return value from a register pair.
|
||||||
|
|
||||||
* mn10200-tdep.c (mn10200_push_arguments): Stack only needs to
|
* mn10200-tdep.c (mn10200_push_arguments): Stack only needs to
|
||||||
be two byte aligned. Round argument sizes up to two byte boundary.
|
be two byte aligned. Round argument sizes up to two byte boundary.
|
||||||
Write out args in two byte hunks.
|
Write out args in two byte hunks.
|
||||||
|
@ -127,7 +127,7 @@ extern CORE_ADDR mn10200_frame_saved_pc PARAMS ((struct frame_info *));
|
|||||||
else if (TYPE_LENGTH (TYPE) > 2 && TYPE_CODE (TYPE) != TYPE_CODE_PTR) \
|
else if (TYPE_LENGTH (TYPE) > 2 && TYPE_CODE (TYPE) != TYPE_CODE_PTR) \
|
||||||
{ \
|
{ \
|
||||||
memcpy (VALBUF, REGBUF + REGISTER_BYTE (0), 2); \
|
memcpy (VALBUF, REGBUF + REGISTER_BYTE (0), 2); \
|
||||||
memcpy (VALBUF, REGBUF + REGISTER_BYTE (1), 2); \
|
memcpy (VALBUF + 2, REGBUF + REGISTER_BYTE (1), 2); \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
Reference in New Issue
Block a user