sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures in registers.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Thu, 25 Feb 1999 14:02:32 +0000 (14:02 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 25 Feb 1999 14:02:32 +0000 (14:02 +0000)
commit9ab70a9bd7c8ee4fcf2f074459525e981ed1ca2e
tree4b4ce259afa9f7f20acfba1fca1ef92f60b9c55f
parent345137c78a04d79092b6c8633dd11470f30e7267
sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures in registers.

* sh.h (PASS_IN_REG_P):  For TARGET_HITACHI, don't pass structures
in registers.
* expr.h (PRETEND_OUTGOING_VARARGS_NAMED): Provide default definition.
* function.c (assign_parms): Honour PRETEND_OUTGOING_VARARGS_NAMED.
* calls.c (expand_call): Likewise.
* sh.c (sh_expand_prologue): For TARGET_HITACHI, don't push varargs /
stdarg arguments.
* sh.h (CPP_SPEC): Add -D__HITACHI__ for -mhitachi.
(FUNCTION_ARG):  For TARGET_HITACHI, don't pass unnamed
arguments in registers.
(PRETEND_OUTGOING_VARARGS_NAMED): Define.
* va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
flavour varargs.

From-SVN: r25440
gcc/ChangeLog
gcc/calls.c
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/expr.h
gcc/function.c
gcc/ginclude/va-sh.h
gcc/tm.texi