aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2009-10-17 14:46:18 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2009-10-17 14:46:18 +0400
commit7fc6a96bed6d0b2511f56e246c5ca0c3058616aa (patch)
tree35a894b7f8feb223ff393719776ea737b8b17093 /gcc/doc
parent9f4afcd44f9052bacea254f54f9ba6432fa3d6a2 (diff)
downloadgcc-7fc6a96bed6d0b2511f56e246c5ca0c3058616aa.zip
gcc-7fc6a96bed6d0b2511f56e246c5ca0c3058616aa.tar.gz
gcc-7fc6a96bed6d0b2511f56e246c5ca0c3058616aa.tar.bz2
targhooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro if not defined.
* targhooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro if not defined. Change type of second argument to const_rtx. (default_function_value): Call gcc_unreachable if FUNCTION_VALUE macro not defined. * targhooks.h (default_libcall_value): Update prototype. * target.h (struct gcc_target): Change type of second argument of libcall_value to const_rtx. * config/arm/arm.c (arm_libcall_value): Change type of second argument to const_rtx. (arm_libcall_uses_aapcs_base): Change type of argument to const_rtx. * doc/tm.texi (TARGET_LIBCALL_VALUE): Revise documentation. From-SVN: r152933
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 57e2b76..805ebf2 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -4399,7 +4399,7 @@ compiled.
@end defmac
@deftypefn {Target Hook} rtx TARGET_LIBCALL_VALUE (enum machine_mode
-@var{mode}, rtx @var{fun})
+@var{mode}, const_rtx @var{fun})
Define this hook if the back-end needs to know the name of the libcall
function in order to determine where the result should be returned.