diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd78cf1..28ecb14 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-14 Kazu Hirata <kazu@cs.umass.edu> + + * doc/tm.texi: Replace RETURN_IN_MEMORY with + TARGET_RETURN_IN_MEMORY. + 2004-01-15 Jan Hubicka <jh@suse.cz> * builtins.c (std_expand_builtin_va_arg): Align operand when needed. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index e1f2367..c76cd88 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -3944,7 +3944,7 @@ is called the @dfn{structure value address}. This section describes how to control returning structure values in memory. -@deftypefn {Target Hook} bool RETURN_IN_MEMORY (tree @var{type}, tree @var{fntype}) +@deftypefn {Target Hook} bool TARGET_RETURN_IN_MEMORY (tree @var{type}, tree @var{fntype}) This target hook should return a nonzero value to say to return the function value in memory, just as large structures are always returned. Here @var{type} will be the data type of the value, and @var{fntype} @@ -3968,7 +3968,8 @@ Define this macro to be 1 if all structure and union return values must be in memory. Since this results in slower code, this should be defined only if needed for compatibility with other compilers or with an ABI@. If you define this macro to be 0, then the conventions used for structure -and union return values are decided by the @code{RETURN_IN_MEMORY} macro. +and union return values are decided by the @code{TARGET_RETURN_IN_MEMORY} +target hook. If not defined, this defaults to the value 1. @end defmac |