* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for

structures > 4 bytes in size.
Fixing more structure return problems.
This commit is contained in:
Jeff Law 1996-08-07 16:32:44 +00:00
parent 9b3307b0a0
commit 8d03845101
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com)
* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
structures > 4 bytes in size.
* valops.c (call_function_by_hand): Handle aligning stacks that
grow up correctly.
* config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.

View File

@ -280,7 +280,7 @@ extern void pa_do_registers_info PARAMS ((int, int));
else \
memcpy ((VALBUF), \
(char *)(REGBUF) + REGISTER_BYTE (28) + \
(TYPE_LENGTH (TYPE) >= 4 ? 0 : 4 - TYPE_LENGTH (TYPE)), \
(TYPE_LENGTH (TYPE) > 4 ? 8 : 4 - TYPE_LENGTH (TYPE)), \
TYPE_LENGTH (TYPE)); \
}