aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2011-10-06 23:25:53 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2011-10-06 23:25:53 +0400
commite12671331b81c8deffc0491e344eb503c0c517c8 (patch)
treeed408683173f92d7d0abeb303fe38d4d20bc713b /gcc/hooks.c
parentce72a9a305f5de10f43446aaf3c3fecdf77d7987 (diff)
downloadgcc-e12671331b81c8deffc0491e344eb503c0c517c8.zip
gcc-e12671331b81c8deffc0491e344eb503c0c517c8.tar.gz
gcc-e12671331b81c8deffc0491e344eb503c0c517c8.tar.bz2
system.h (OUTPUT_ADDR_CONST_EXTRA): Poison.
* system.h (OUTPUT_ADDR_CONST_EXTRA): Poison. * doc/tm.texi.in (OUTPUT_ADDR_CONST_EXTRA): Remove documentation. * doc/tm.texi: Regenerate. * target.def (output_addr_const_extra): Use hook_bool_FILEptr_rtx_false. * targhooks.c (default_asm_output_addr_const_extra): Remove. * targhooks.h (default_asm_output_addr_const_extra): Remove. * hooks.c (hook_bool_FILEptr_rtx_false): New functions. * hooks.h (hook_bool_FILEptr_rtx_false): Declare. From-SVN: r179630
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 1ba44f9..ae59c33 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -132,6 +132,14 @@ hook_void_FILEptr_constcharptr (FILE *a ATTRIBUTE_UNUSED, const char *b ATTRIBUT
{
}
+/* Generic hook that takes (FILE *, rtx) and returns false. */
+bool
+hook_bool_FILEptr_rtx_false (FILE *a ATTRIBUTE_UNUSED,
+ rtx b ATTRIBUTE_UNUSED)
+{
+ return false;
+}
+
/* Used for the TARGET_ASM_CAN_OUTPUT_MI_THUNK hook. */
bool
hook_bool_const_tree_hwi_hwi_const_tree_false (const_tree a ATTRIBUTE_UNUSED,