From d624465f78fea694b0904e780d896c8b4c0c05b8 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 15 Jan 2004 03:33:11 +0000 Subject: [PATCH] tm.texi: Replace RETURN_IN_MEMORY with TARGET_RETURN_IN_MEMORY. * doc/tm.texi: Replace RETURN_IN_MEMORY with TARGET_RETURN_IN_MEMORY. From-SVN: r75900 --- gcc/ChangeLog | 5 +++++ 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 + + * doc/tm.texi: Replace RETURN_IN_MEMORY with + TARGET_RETURN_IN_MEMORY. + 2004-01-15 Jan Hubicka * 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 -- 2.7.4