aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2016-09-23 12:05:29 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-09-23 12:05:29 +0200
commitbf0728547a84e1247b5f16c4fff2280e7fc5d561 (patch)
tree86d503259ceba41d0384a8005bf36086ca4217d0 /gcc
parentbce2b8f9587a0f55ccee6b69bffb90cd397aac6d (diff)
downloadgcc-bf0728547a84e1247b5f16c4fff2280e7fc5d561.zip
gcc-bf0728547a84e1247b5f16c4fff2280e7fc5d561.tar.gz
gcc-bf0728547a84e1247b5f16c4fff2280e7fc5d561.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/hooks.c3
-rw-r--r--gcc/hooks.h2
-rw-r--r--gcc/target.def2
4 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 451f0a4..63c6464 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+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>
* config/arm/arm-builtins.c (arm_init_neon_builtin): New.
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 1e92564..0d18ef6 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -486,8 +486,7 @@ hook_void_gcc_optionsp (struct gcc_options *opts ATTRIBUTE_UNUSED)
returns false. */
bool
-hook_uint_uintp_false (unsigned int, unsigned int *)
+hook_bool_uint_uintp_false (unsigned int, unsigned int *)
{
return false;
}
-
diff --git a/gcc/hooks.h b/gcc/hooks.h
index 8b433cf..0cdfc81 100644
--- a/gcc/hooks.h
+++ b/gcc/hooks.h
@@ -76,7 +76,7 @@ extern void hook_void_tree (tree);
extern void hook_void_tree_treeptr (tree, tree *);
extern void hook_void_int_int (int, int);
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_const_tree_0 (const_tree);
diff --git a/gcc/target.def b/gcc/target.def
index ac69331..e7e2bb5 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -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\
traditional letter sequence will be emitted.",
bool, (unsigned int flags, unsigned int *num),
- hook_uint_uintp_false)
+ hook_bool_uint_uintp_false)
/* Return preferred text (sub)section for function DECL.
Main purpose of this function is to separate cold, normal and hot