summaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-07-12 14:57:28 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2011-07-12 14:57:28 +0000
commit123148b532a990e5fdf956cd563327af1391b2df (patch)
tree1836524298f4090e69415cd574678b08885fc75a /gcc/targhooks.c
parentb7a83ad8eb8282676f1431f288718d08253a2739 (diff)
downloadgcc-123148b532a990e5fdf956cd563327af1391b2df.tar.gz
tm.texi.in (FUNCTION_ARG_PADDING): Mention TARGET_FUNCTION_ARG_ROUND_BOUNDARY.
* doc/tm.texi.in (FUNCTION_ARG_PADDING): Mention TARGET_FUNCTION_ARG_ROUND_BOUNDARY. (TARGET_FUNCTION_ARG_ROUND_BOUNDARY): Add hook. * function.c (locate_and_pad_parm): Take it into account. * target.def (function_arg_round_boundary): New hook. * targhooks.c (default_function_arg_round_boundary): New function. * targhooks.h (default_function_arg_round_boundary): Declare. * doc/tm.texi: Regenerate. From-SVN: r176207
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index bcb8a12bc4e..f69b39626a6 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -614,6 +614,13 @@ default_function_arg_boundary (enum machine_mode mode ATTRIBUTE_UNUSED,
return PARM_BOUNDARY;
}
+unsigned int
+default_function_arg_round_boundary (enum machine_mode mode ATTRIBUTE_UNUSED,
+ const_tree type ATTRIBUTE_UNUSED)
+{
+ return PARM_BOUNDARY;
+}
+
void
hook_void_bitmap (bitmap regs ATTRIBUTE_UNUSED)
{