Commit bf072854 by Uros Bizjak Committed by Jakub Jelinek

hooks.h (hook_uint_uintp_false): Rename to...

	* hooks.h (hook_uint_uintp_false): Rename to...
	(hook_bool_uint_uintp_false): ... this.
	* hooks.c (hook_uint_uintp_false): Rename to...
	(hook_bool_uint_uintp_false): ... this.
	* target.def (elf_flags_numeric): Use hook_bool_uint_uintp_false
	instead of hook_uint_uintp_false.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r240417
parent bce2b8f9
2016-09-23 Uros Bizjak <ubizjak@gmail.com>
Jakub Jelinek <jakub@redhat.com>
* hooks.h (hook_uint_uintp_false): Rename to...
(hook_bool_uint_uintp_false): ... this.
* hooks.c (hook_uint_uintp_false): Rename to...
(hook_bool_uint_uintp_false): ... this.
* target.def (elf_flags_numeric): Use hook_bool_uint_uintp_false
instead of hook_uint_uintp_false.
2016-09-23 Matthew Wahab <matthew.wahab@arm.com> 2016-09-23 Matthew Wahab <matthew.wahab@arm.com>
* config/arm/arm-builtins.c (arm_init_neon_builtin): New. * config/arm/arm-builtins.c (arm_init_neon_builtin): New.
......
...@@ -486,8 +486,7 @@ hook_void_gcc_optionsp (struct gcc_options *opts ATTRIBUTE_UNUSED) ...@@ -486,8 +486,7 @@ hook_void_gcc_optionsp (struct gcc_options *opts ATTRIBUTE_UNUSED)
returns false. */ returns false. */
bool bool
hook_uint_uintp_false (unsigned int, unsigned int *) hook_bool_uint_uintp_false (unsigned int, unsigned int *)
{ {
return false; return false;
} }
...@@ -76,7 +76,7 @@ extern void hook_void_tree (tree); ...@@ -76,7 +76,7 @@ extern void hook_void_tree (tree);
extern void hook_void_tree_treeptr (tree, tree *); extern void hook_void_tree_treeptr (tree, tree *);
extern void hook_void_int_int (int, int); extern void hook_void_int_int (int, int);
extern void hook_void_gcc_optionsp (struct gcc_options *); extern void hook_void_gcc_optionsp (struct gcc_options *);
extern bool hook_uint_uintp_false (unsigned int, unsigned int *); extern bool hook_bool_uint_uintp_false (unsigned int, unsigned int *);
extern int hook_int_uint_mode_1 (unsigned int, machine_mode); extern int hook_int_uint_mode_1 (unsigned int, machine_mode);
extern int hook_int_const_tree_0 (const_tree); extern int hook_int_const_tree_0 (const_tree);
......
...@@ -446,7 +446,7 @@ instead of the normal sequence of letter codes. If the hook is not\n\ ...@@ -446,7 +446,7 @@ instead of the normal sequence of letter codes. If the hook is not\n\
defined, or if it returns false, then @var{num} will be ignored and the\n\ defined, or if it returns false, then @var{num} will be ignored and the\n\
traditional letter sequence will be emitted.", traditional letter sequence will be emitted.",
bool, (unsigned int flags, unsigned int *num), bool, (unsigned int flags, unsigned int *num),
hook_uint_uintp_false) hook_bool_uint_uintp_false)
/* Return preferred text (sub)section for function DECL. /* Return preferred text (sub)section for function DECL.
Main purpose of this function is to separate cold, normal and hot Main purpose of this function is to separate cold, normal and hot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment