* sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Feb 1999 14:02:32 +0000 (14:02 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Feb 1999 14:02:32 +0000 (14:02 +0000)
commit8b8232043f053ecbe1c8d70f0af39dc1b5f1b558
tree4b4ce259afa9f7f20acfba1fca1ef92f60b9c55f
parent49d8becd33c81b0c00d44cb83544776861817ee5
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25440 138bc75d-0d04-0410-961f-82ee72b054a4
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